[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
FYI: 56-gary-force-version-timestamps.patch
From: |
Gary V. Vaughan |
Subject: |
FYI: 56-gary-force-version-timestamps.patch |
Date: |
Wed, 26 Nov 2003 15:41:51 +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>
* Makefile.am (stamp-vcl): New rules to force libtool and
libtoolize scripts to update when the TIMESTAMP changes in
ChangeLog, but the file modification time doesn't (e.g in cvs
commit). Otherwise we'll carry on releasing tarballs with the
wrong version numbers in the tools!
Index: Makefile.am
===================================================================
RCS file: /cvsroot/libtool/libtool/Makefile.am,v
retrieving revision 1.84
diff -u -p -u -r1.84 Makefile.am
--- Makefile.am 25 Nov 2003 16:51:14 -0000 1.84
+++ Makefile.am 26 Nov 2003 13:36:09 -0000
@@ -42,7 +42,7 @@ bin_SCRIPTS = libtool libtoolize
config_status = $(top_builddir)/config.status
-libtool: config/ltmain.sh $(top_builddir)/configure
+libtool: config/ltmain.sh $(top_builddir)/config.status
CONFIG_FILES= CONFIG_HEADERS= CONFIG_COMMANDS=$@ $(SHELL)
$(config_status)
chmod +x $@
@@ -51,7 +51,14 @@ libtoolize: $(srcdir)/libtoolize.in $(to
chmod +x $@
# Make sure configure is regenerated when the version timestamp changes
-configure: ChangeLog
+$(top_builddir)/config.status: stamp-vcl $(top_srcdir)/ChangeLog
+stamp-vcl: vcl.tmp
+vcl.tmp:
+ @set `$(SHELL) config/mkstamp < $(top_srcdir)/ChangeLog`; \
+ echo "$$1" > vcl.tmp
+ @cmp -s vcl.tmp stamp-vcl \
+ || (echo "Updating stamp-vcl"; cp vcl.tmp stamp-vcl)
+ address@hidden -f vcl.tmp
.PHONY: configure-subdirs
configure-subdirs distdir: $(DIST_MAKEFILE_LIST)
pgpKUDD3XzUv1.pgp
Description: PGP signature
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- FYI: 56-gary-force-version-timestamps.patch,
Gary V. Vaughan <=