fix missing update of rules in chess subdir

Mon, 02 Jun 2025 19:32:37 +0200

author
Mike Becker <universe@uap-core.de>
date
Mon, 02 Jun 2025 19:32:37 +0200
changeset 77
808a7324b467
parent 76
c2a4fb5024b4
child 78
ceb9197b3c6d

fix missing update of rules in chess subdir

Makefile file | annotate | diff | comparison | revisions
make/update-rules.sh file | annotate | diff | comparison | revisions
--- a/Makefile	Mon Jun 02 19:16:36 2025 +0200
+++ b/Makefile	Mon Jun 02 19:32:37 2025 +0200
@@ -38,4 +38,5 @@
 	$(RM) $(RMFLAGS) $(BUILDDIR)
 
 update-rules:
-	make/update-rules.sh
+	make/update-rules.sh src
+	make/update-rules.sh src/chess
--- a/make/update-rules.sh	Mon Jun 02 19:16:36 2025 +0200
+++ b/make/update-rules.sh	Mon Jun 02 19:32:37 2025 +0200
@@ -1,6 +1,6 @@
 #!/bin/sh
 
-dir='src'
+dir="$1"
 target='$(BUILDDIR)'
 
 if [ -z "$CC" ]; then

mercurial