From: Gary V. Vaughan Date: Fri, 22 Jan 1999 13:27:51 +0000 (+0000) Subject: * Makefile.am ($(srcdir)/ltconfig): Oops. cvs co keyword X-Git-Tag: ild-branchpoint~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=675c92846689d1c40501229f848e659b4f62cce7;p=thirdparty%2Flibtool.git * Makefile.am ($(srcdir)/ltconfig): Oops. cvs co keyword expansion ate the sed expression! Changed sed separator to '%' because there are '/' in the date. Added missing '(' to search expression. Inserted a null string to stop cvs from expanding it next time =)O| ($(srcdir)/ltmain.sh): ditto. --- diff --git a/ChangeLog b/ChangeLog index 3755b01d2..bc950abe9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,12 @@ +1999-01-22 Gary V. Vaughan + + * Makefile.am ($(srcdir)/ltconfig): Oops. cvs co keyword + expansion ate the sed expression! Changed sed separator to '%' + because there are '/' in the date. Added missing '\(' to search + expression. Inserted a null string to stop cvs from expanding it + next time =)O| + ($(srcdir)/ltmain.sh): ditto. + 1999-01-22 Alexandre Oliva * Makefile.am (TSDEPS_DIST): dist-time dependencies for timestamps diff --git a/Makefile.am b/Makefile.am index b63ccd647..40d25c5b2 100644 --- a/Makefile.am +++ b/Makefile.am @@ -61,11 +61,11 @@ update-timestamps: # Line numbering transliterated from a section in autoconf (Autoconf 2.12). $(srcdir)/ltconfig: $(srcdir)/ltconfig.in $(top_srcdir)/configure.in $(TSDEPS) rm -f ltconfig.T - date=`sed 's/.*\$$Date$$]*\)\$$.*/ (\1)/;t;d' \ + date=`sed 's%.*\$$''Date: \([0-9 /]*[0-9:]*\) \$$.*% (\1)%;t;d' \ < $(srcdir)/ChangeLog` && \ $(AWK) '/@LINENO@/ { printf "%d:", NR } { print }' $(srcdir)/ltconfig.in | \ sed -e 's/@''PACKAGE@/@PACKAGE@/' -e 's/@''VERSION@/@VERSION@/' \ - -e "s/@""TIMESTAMP@/$$date/" \ + -e "s%@""TIMESTAMP@%$$date%" \ -e '/@LINENO@/s/^\([0-9][0-9]*\):\(.*\)@LINENO@/\2\1/' \ > ltconfig.T chmod +x ltconfig.T @@ -74,10 +74,10 @@ $(srcdir)/ltconfig: $(srcdir)/ltconfig.in $(top_srcdir)/configure.in $(TSDEPS) $(srcdir)/ltmain.sh: $(srcdir)/ltmain.in $(top_srcdir)/configure.in $(TSDEPS) rm -f ltmain.shT - date=`sed 's/.*\$$Date$$]*\)\$$.*/ (\1)/;t;d' \ + date=`sed 's%.*\$$''Date: \([0-9 /]*[0-9:]*\) \$$.*% (\1)%;t;d' \ < $(srcdir)/ChangeLog` && \ sed -e 's/@''PACKAGE@/@PACKAGE@/' -e 's/@''VERSION@/@VERSION@/' \ - -e "s/@""TIMESTAMP@/$$date/" $(srcdir)/ltmain.in > ltmain.shT + -e "s%@""TIMESTAMP@%$$date%" $(srcdir)/ltmain.in > ltmain.shT mv -f ltmain.shT $@ || \ (rm -f $@ && cp ltmain.shT $@ && rm -f ltmain.shT)