chiark / gitweb /
build system: Use SUBDIRMK_MAKEFILES for common.make etc.
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Thu, 14 Nov 2019 00:39:24 +0000 (00:39 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Thu, 14 Nov 2019 00:40:15 +0000 (00:40 +0000)
This wires them properly into regen.mk.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
configure
configure.ac

index 6f8d4986e6e3403bd9e56e88ea2625bfd2e4a3f6..67aabcecfb2ff562f7d3d4e8328e2a183f0c4985 100755 (executable)
--- a/configure
+++ b/configure
@@ -4712,7 +4712,18 @@ else
 $as_echo "$as_me: WARNING: Disabling IPv6 support" >&2;}
 fi
 
-ac_config_files="$ac_config_files common.make test-common.make test-example/Makefile stest/Makefile mtest/Makefile"
+
+
+  _SUBDIRMK_MAKEFILES="$_SUBDIRMK_MAKEFILES common.make"
+  ac_config_files="$ac_config_files common.make:common.make.in"
+
+
+  _SUBDIRMK_MAKEFILES="$_SUBDIRMK_MAKEFILES test-common.make"
+  ac_config_files="$ac_config_files test-common.make:test-common.make.in"
+
+
+
+ac_config_files="$ac_config_files stest/Makefile mtest/Makefile"
 
 ac_config_commands="$ac_config_commands default"
 
@@ -5423,9 +5434,8 @@ do
     "Subdir.mk") CONFIG_FILES="$CONFIG_FILES Subdir.mk:Subdir.mk.tmp" ;;
     "subdirmk/regen.mk") CONFIG_FILES="$CONFIG_FILES subdirmk/regen.mk:subdirmk/regen.mk.in" ;;
     "subdirmk/usual.mk") CONFIG_FILES="$CONFIG_FILES subdirmk/usual.mk:subdirmk/usual.mk.in" ;;
-    "common.make") CONFIG_FILES="$CONFIG_FILES common.make" ;;
-    "test-common.make") CONFIG_FILES="$CONFIG_FILES test-common.make" ;;
-    "test-example/Makefile") CONFIG_FILES="$CONFIG_FILES test-example/Makefile" ;;
+    "common.make") CONFIG_FILES="$CONFIG_FILES common.make:common.make.in" ;;
+    "test-common.make") CONFIG_FILES="$CONFIG_FILES test-common.make:test-common.make.in" ;;
     "stest/Makefile") CONFIG_FILES="$CONFIG_FILES stest/Makefile" ;;
     "mtest/Makefile") CONFIG_FILES="$CONFIG_FILES mtest/Makefile" ;;
     "default") CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
index 9c65460ea9cd8d0d6e2e3695dc135d87995ae845..27646718dc434fedc3fc0488d94c4cdbfff2daf7 100644 (file)
@@ -99,8 +99,9 @@ else
     AC_MSG_WARN([Disabling IPv6 support])
 fi
 
-AC_OUTPUT(common.make test-common.make
-          test-example/Makefile stest/Makefile mtest/Makefile,
+SUBDIRMK_MAKEFILES(common.make test-common.make)
+
+AC_OUTPUT(stest/Makefile mtest/Makefile,
           echo timestamp >config.stamp)
 
 AH_TOP([