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.
This commit is contained in:
Gary V. Vaughan 2003-11-26 15:36:08 +00:00
parent 32ba8b7442
commit f3d1939fe2
2 changed files with 18 additions and 3 deletions

View File

@ -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

View 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