]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
Okay, the problem I am trying to solve is that when a change (say,
authorGary V. Vaughan <gary@gnu.org>
Wed, 26 Nov 2003 15:36:08 +0000 (15:36 +0000)
committerGary V. Vaughan <gary@gnu.org>
Wed, 26 Nov 2003 15:36:08 +0000 (15:36 +0000)
bumping the version to 1.6 for the next release) is committed, the
timestamp in ChangeLog is updated, but ltmain.sh and libtoolize
inherit the pre-commit build number from config.status.  This
delta notes the change in build number in the unstamped ChangeLog
and forces a rerun of configure etc. to roll a new ltmain.sh with
the correct TIMESTAMP:

* Makefile.am (stamp-vcl): We actually need a new config.status to
force the correct timestamp into libtoolize and ltmain.sh,
rerunning autoconf has no effect at all if configure.ac hasn't
changed.

ChangeLog
Makefile.am

index 0c0e9de876e60a90c07e500f288170a140784d5c..248ee3a3565d033595c3bcf764be4ba4c284a50d 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,18 @@
+2003-11-26  Gary V. Vaughan  <gary@gnu.org>
+
+       Okay, the problem I am trying to solve is that when a change (say,
+       bumping the version to 1.6 for the next release) is committed, the
+       timestamp in ChangeLog is updated, but ltmain.sh and libtoolize
+       inherit the pre-commit build number from config.status.  This
+       delta notes the change in build number in the unstamped ChangeLog
+       and forces a rerun of configure etc. to roll a new ltmain.sh with
+       the correct TIMESTAMP:
+
+       * Makefile.am (stamp-vcl): We actually need a new config.status to
+       force the correct timestamp into libtoolize and ltmain.sh,
+       rerunning autoconf has no effect at all if configure.ac hasn't
+       changed.
+
 2003-11-26  Gary V. Vaughan  <gary@gnu.org>
 
        * Makefile.am (stamp-vcl): New rules to force libtool and
index bba27b80b5ec394bb613e673034c4fdd61832a66..b422ad5fe4a203587aaba227543ea77ee2812aa5 100644 (file)
@@ -50,9 +50,9 @@ libtoolize: $(srcdir)/libtoolize.in $(top_builddir)/config.status
        CONFIG_FILES=$@ CONFIG_HEADERS= CONFIG_COMMANDS= $(SHELL) $(config_status)
        chmod +x $@
 
-# Make sure configure is regenerated when the version timestamp changes
-$(top_builddir)/config.status: stamp-vcl $(top_srcdir)/ChangeLog
-stamp-vcl: vcl.tmp
+# Make sure config.status is regenerated when the version timestamp changes
+$(config_status): stamp-vcl
+stamp-vcl: vcl.tmp $(top_srcdir)/ChangeLog
 vcl.tmp:
        @set `$(SHELL) config/mkstamp < $(top_srcdir)/ChangeLog`; \
        echo "$$1" > vcl.tmp