From: Alexandre Duret-Lutz Date: Thu, 12 Dec 2002 13:40:57 +0000 (+0000) Subject: * m4/init.m4 (AM_INIT_AUTOMAKE): Properly quote AC_PACKAGE_TARNAME X-Git-Tag: Release-1-7b~327 X-Git-Url: https://sourceware.org/git/?a=commitdiff_plain;h=6e89a733b5bd8b44e525e81fc107b0a5fea14cea;p=automake.git * m4/init.m4 (AM_INIT_AUTOMAKE): Properly quote AC_PACKAGE_TARNAME and AC_PACKAGE_VERSION. --- diff --git a/ChangeLog b/ChangeLog index 15777687..c95aef1f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2002-12-11 Brian Ford + + * m4/init.m4 (AM_INIT_AUTOMAKE): Properly quote AC_PACKAGE_TARNAME + and AC_PACKAGE_VERSION. + 2002-12-11 Alexandre Duret-Lutz * automake.texi (ANSI): Since Autoconf 2.54, LIBOBJ and LTLIBOBJ diff --git a/Makefile.in b/Makefile.in index 9ff825ec..d64d8fb3 100644 --- a/Makefile.in +++ b/Makefile.in @@ -244,16 +244,18 @@ uninstall-info-am: install-info --version | grep -i -v debian) >/dev/null 2>&1; then \ list='$(INFO_DEPS)'; \ for file in $$list; do \ - echo " install-info --info-dir=$(DESTDIR)$(infodir) --remove $(DESTDIR)$(infodir)/$$file"; \ - install-info --info-dir=$(DESTDIR)$(infodir) --remove $(DESTDIR)$(infodir)/$$file; \ + relfile=`echo "$$file" | sed 's|^.*/||'`; \ + echo " install-info --info-dir=$(DESTDIR)$(infodir) --remove $(DESTDIR)$(infodir)/$$relfile"; \ + install-info --info-dir=$(DESTDIR)$(infodir) --remove $(DESTDIR)$(infodir)/$$relfile; \ done; \ else :; fi @$(NORMAL_UNINSTALL) @list='$(INFO_DEPS)'; \ for file in $$list; do \ + relfile=`echo "$$file" | sed 's|^.*/||'`; \ (if cd $(DESTDIR)$(infodir); then \ - echo " rm -f $$file $$file-[0-9] $$file-[0-9][0-9])"; \ - rm -f $$file $$file-[0-9] $$file-[0-9][0-9]; \ + echo " rm -f $$relfile $$relfile-[0-9] $$relfile-[0-9][0-9])"; \ + rm -f $$relfile $$relfile-[0-9] $$relfile-[0-9][0-9]; \ else :; fi); \ done @@ -596,9 +598,9 @@ install-info-am: $(INFO_DEPS) @list='$(INFO_DEPS)'; \ for file in $$list; do \ if test -f $$file; then d=.; else d=$(srcdir); fi; \ - for ifile in echo $$d/$$file $$d/$$file-[0-9] $$d/$$file-[0-9][0-9]; do \ + for ifile in $$d/$$file $$d/$$file-[0-9] $$d/$$file-[0-9][0-9]; do \ if test -f $$ifile; then \ - relfile=`expr "$$ifile" : "$$d/\(.*\)"`; \ + relfile=`echo "$$ifile" | sed 's|^.*/||'`; \ echo " $(INSTALL_DATA) $$ifile $(DESTDIR)$(infodir)/$$relfile"; \ $(INSTALL_DATA) $$ifile $(DESTDIR)$(infodir)/$$relfile; \ else : ; fi; \ @@ -609,8 +611,9 @@ install-info-am: $(INFO_DEPS) install-info --version | grep -i -v debian) >/dev/null 2>&1; then \ list='$(INFO_DEPS)'; \ for file in $$list; do \ - echo " install-info --info-dir=$(DESTDIR)$(infodir) $(DESTDIR)$(infodir)/$$file";\ - install-info --info-dir=$(DESTDIR)$(infodir) $(DESTDIR)$(infodir)/$$file || :;\ + relfile=`echo "$$file" | sed 's|^.*/||'`; \ + echo " install-info --info-dir=$(DESTDIR)$(infodir) $(DESTDIR)$(infodir)/$$relfile";\ + install-info --info-dir=$(DESTDIR)$(infodir) $(DESTDIR)$(infodir)/$$relfile || :;\ done; \ else : ; fi install-man: diff --git a/aclocal.m4 b/aclocal.m4 index f30e0ecc..e6fa0a2c 100644 --- a/aclocal.m4 +++ b/aclocal.m4 @@ -86,8 +86,8 @@ m4_ifval([$2], AC_SUBST([PACKAGE], [$1])dnl AC_SUBST([VERSION], [$2])], [_AM_SET_OPTIONS([$1])dnl - AC_SUBST([PACKAGE], [AC_PACKAGE_TARNAME])dnl - AC_SUBST([VERSION], [AC_PACKAGE_VERSION])])dnl + AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl + AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl _AM_IF_OPTION([no-define],, [AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package]) diff --git a/configure b/configure index c9a7852f..4fa9f822 100755 --- a/configure +++ b/configure @@ -1473,8 +1473,8 @@ fi # Define the identity of the package. - PACKAGE=automake - VERSION=1.7a + PACKAGE='automake' + VERSION='1.7a' cat >>confdefs.h <<_ACEOF diff --git a/m4/init.m4 b/m4/init.m4 index 3b74c1cb..d58a6f47 100644 --- a/m4/init.m4 +++ b/m4/init.m4 @@ -73,8 +73,8 @@ m4_ifval([$2], AC_SUBST([PACKAGE], [$1])dnl AC_SUBST([VERSION], [$2])], [_AM_SET_OPTIONS([$1])dnl - AC_SUBST([PACKAGE], [AC_PACKAGE_TARNAME])dnl - AC_SUBST([VERSION], [AC_PACKAGE_VERSION])])dnl + AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl + AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl _AM_IF_OPTION([no-define],, [AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package]) diff --git a/stamp-vti b/stamp-vti index f947d3f9..ac831d87 100644 --- a/stamp-vti +++ b/stamp-vti @@ -1,4 +1,4 @@ -@set UPDATED 4 December 2002 +@set UPDATED 11 December 2002 @set UPDATED-MONTH December 2002 @set EDITION 1.7a @set VERSION 1.7a diff --git a/tests/Makefile.in b/tests/Makefile.in index 0ddbef49..9a7d8135 100644 --- a/tests/Makefile.in +++ b/tests/Makefile.in @@ -163,7 +163,6 @@ comment4.test \ comment5.test \ comment6.test \ comment7.test \ -comment8.test \ compile_f_c_cxx.test \ cond.test \ cond2.test \ diff --git a/version.texi b/version.texi index f947d3f9..ac831d87 100644 --- a/version.texi +++ b/version.texi @@ -1,4 +1,4 @@ -@set UPDATED 4 December 2002 +@set UPDATED 11 December 2002 @set UPDATED-MONTH December 2002 @set EDITION 1.7a @set VERSION 1.7a