2006-05-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
+ * 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.
# 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
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