libtool-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

FYI: 57-gary-really-force-version-timestamps.patch


From: Gary V. Vaughan
Subject: FYI: 57-gary-really-force-version-timestamps.patch
Date: Wed, 26 Nov 2003 15:42:32 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20030925 Thunderbird/0.3

Applied to HEAD.
--
Gary V. Vaughan      ())_.  address@hidden,gnu.org}
Research Scientist   ( '/   http://www.oranda.demon.co.uk
GNU Hacker           / )=   http://www.gnu.org/software/libtool
Technical Author   `(_~)_   http://sources.redhat.com/autobook
Index: ChangeLog
from  Gary V. Vaughan  <address@hidden>
        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  <address@hidden>

Index: Makefile.am
===================================================================
RCS file: /cvsroot/libtool/libtool/Makefile.am,v
retrieving revision 1.85
diff -u -p -u -r1.85 Makefile.am
--- Makefile.am 26 Nov 2003 13:36:31 -0000 1.85
+++ Makefile.am 26 Nov 2003 15:35:46 -0000
@@ -50,9 +50,9 @@ libtoolize: $(srcdir)/libtoolize.in $(to
        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

Attachment: pgp8aT4t60f3N.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]