OSDN Git Service

Add automated build time configuration management.
authorKeith Marshall <keithmarshall@users.sourceforge.net>
Tue, 15 Oct 2013 20:15:59 +0000 (21:15 +0100)
committerKeith Marshall <keithmarshall@users.sourceforge.net>
Tue, 15 Oct 2013 20:15:59 +0000 (21:15 +0100)
ChangeLog
Makefile.in

index a48109e..b9af848 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2013-10-15  Keith Marshall  <keithmarshall@users.sourceforge.net>
+
+       Add automated build time configuration management.
+
+       * Makefile.in (Makefile): Add regeneration rules, depending on...
+       (VERSION.m4, configure.ac, aclocal.m4, missing.m4, makeopts.m4):
+       ...these, if modified by the package maintainer, directed via...
+       (config.status, configure): ...these, regenerated as required.
+
 2013-10-04  Keith Marshall  <keithmarshall@users.sourceforge.net>
 
        mingw-get-0.6.2-mingw32-beta-20131004-1 released.
index d56bc6f..93fe9f6 100644 (file)
@@ -247,6 +247,22 @@ WITH_REQUEST = $(QUIET_MAKE) COMMAND
 execute-command:
        $(COMMAND)
 
+# Build system configuration management...
+#
+vpath configure @top_srcdir@
+vpath configure.ac @top_srcdir@
+vpath %.m4 @top_srcdir@:@top_srcdir@/build-aux/m4
+vpath Makefile.in @top_srcdir@
+
+Makefile: Makefile.in VERSION.m4 config.status
+       ./config.status
+
+config.status: configure
+       ./config.status --recheck
+
+configure: configure.ac VERSION.m4 aclocal.m4 missing.m4 makeopts.m4
+       cd ${abs_top_srcdir}; autoconf
+
 # Compilation and dependency tracking...
 #
 DEPFLAGS = -MMD -MP