During the subdir5.test, a project is configured and run. Later a subdirectory is added and populated, and the root Makefile.am and configure.in suitably ammended. Then automake, autoconf, configure are NOT run, JUST gmake. The idea is to see whether use is made of the Makefile.am in the subdirectory. % gmake VERBOSE=1 TESTS=subdir5.test check ... XPASS: subdir5.test ... % ls -l tests/testSubDir/maude total 2 -rw-r--r-- 1 prlw1 wheel 24 Sep 10 17:56 Makefile.am -rw-r--r-- 1 prlw1 wheel 0 Sep 10 17:56 foo.h (One might wonder why I have XPASS rather than XFAIL, but that is another issue.) (Also, I just happen to have removed --include-deps from the $AUTOMAKE, but that doesn't change anything.) % mkdir /tmp/maketest % cp subdir5.test /tmp/maketest % cd /tmp/maketest Do --- subdir5.test.orig Mon Sep 10 17:59:38 2001 +++ subdir5.test Mon Sep 10 18:00:20 2001 @@ -3,7 +3,11 @@ # Test to make sure that adding a new directory works. # PR automake/46 -. $srcdir/defs || exit 1 +# . $srcdir/defs || exit 1 +ACLOCAL=aclocal +AUTOMAKE=automake +AUTOCONF=autoconf +MAKE=gmake cat > configure.in << 'END' AC_INIT(a.c) to subdir5.test Then: % subdir5.test ... % ls -l maude total 2 -rw-r--r-- 1 prlw1 wheel 24 Sep 10 18:01 Makefile.am -rw-r--r-- 1 prlw1 wheel 0 Sep 10 18:01 Makefile.in -rw-r--r-- 1 prlw1 wheel 0 Sep 10 18:01 foo.h So, if I run subdir5.test without sourcing $srcdir/defs, the Makefile.am in the subdirectory is used ?! Cheers, Patrick PS. automake 1.4s autoconf 2.52e gmake 3.79.1 NetBSD-1.5X/i386 and BTW I'm not subscribed..
