From: Ralf Wildenhues Date: Thu, 11 May 2006 17:20:04 +0000 (+0000) Subject: * tests/distdir.test: Do not use leading `./' in EXTRA_DIST for X-Git-Tag: Release-1-9b~49 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=99860de84f1aa9b7173b7abe75080eca34b0734c;p=thirdparty%2Fautomake.git * tests/distdir.test: Do not use leading `./' in EXTRA_DIST for files in the source tree. Fixes failures with HP-UX and Tru64 make. --- diff --git a/ChangeLog b/ChangeLog index 576e5dd1d..aa5f69058 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 2006-05-11 Ralf Wildenhues + * tests/distdir.test: Do not use leading `./' in EXTRA_DIST for + files in the source tree. Fixes failures with HP-UX and Tru64 + make. + * lib/am/ansi2knr.am (ansi2knr): Rename target as... (./ansi2knr): ...this, for BSD make. (%ANSI2KNR-DIR%/ansi2knr): Adjust. diff --git a/tests/distdir.test b/tests/distdir.test index 33247cb9e..5232d5ad8 100755 --- a/tests/distdir.test +++ b/tests/distdir.test @@ -19,7 +19,9 @@ # Boston, MA 02110-1301, USA. # Test to make sure subdirs in EXTRA_DIST work. Also tests to make -# sure "./" is ignored and *srcdir properly handled. +# sure *srcdir is properly handled. Note that using `./', as in +# EXTRA_DIST = ./joe +# does not work portably: it fails with HP-UX and Tru64 make. . ./defs || exit 1 @@ -28,7 +30,7 @@ set -e echo AC_OUTPUT >>configure.in cat > Makefile.am << 'END' -EXTRA_DIST = foo/bar ./joe $(top_srcdir)/woo/doo $(srcdir)/dada +EXTRA_DIST = foo/bar joe $(top_srcdir)/woo/doo $(srcdir)/dada check-local: test -f $(srcdir)/foo/bar test -f $(srcdir)/woo/doo