tests/Makefile.am.
(DIST_MAKEFILE_LIST): Adjust to compensate for having removed the
`tests/' part in CONF_SUBDIRS.
* tests/Makefile.am (DIST_SUBDIRS): Distribute these directories.
(SUBDIRS): Set to `.', a NOP, to workaround an automake bug which
ignores DIST_SUBDIRS unless SUBDIRS is also set.
* Makefile.am (DIST_SUBDIRS): Don't try to distribute the tests
subdirectories from here, since the recursive automake dist rule
only works with direct child directories. Defer to
tests/Makefile.am in this case.
+2003-11-17 Gary V. Vaughan <gary@gnu.org>
+
+ * configure.ac (CONF_SUBDIRS): Make these relative to
+ tests/Makefile.am.
+ (DIST_MAKEFILE_LIST): Adjust to compensate for having removed the
+ `tests/' part in CONF_SUBDIRS.
+ * tests/Makefile.am (DIST_SUBDIRS): Distribute these directories.
+ (SUBDIRS): Set to `.', a NOP, to workaround an automake bug which
+ ignores DIST_SUBDIRS unless SUBDIRS is also set.
+ * Makefile.am (DIST_SUBDIRS): Don't try to distribute the tests
+ subdirectories from here, since the recursive automake dist rule
+ only works with direct child directories. Defer to
+ tests/Makefile.am in this case.
+
2003-11-15 Scott James Remnant <scott@netsplit.com>
* ltmain.in: In compile mode, delay parsing of -shared, -static,
BUILD_SUBDIRS = . libltdl doc tests
SUBDIRS = $(BUILD_SUBDIRS)
-DIST_SUBDIRS = $(BUILD_SUBDIRS) $(CONF_SUBDIRS)
+DIST_SUBDIRS = $(BUILD_SUBDIRS)
aclocal_macros = m4/libtool.m4 m4/ltdl.m4
fi
AC_CONFIG_SUBDIRS([libltdl])
-# all subdirectories that are configured on demand, but that must be
-# included in the distribution
-CONF_SUBDIRS="tests/cdemo tests/demo tests/depdemo tests/f77demo tests/mdemo tests/mdemo2 tests/pdemo tests/tagdemo"
+# All subdirectories that are configured on demand, but that must be
+# included in the distribution. This substitution is for tests/Makefile.am,
+# so the directory names are relative to that directory.
+CONF_SUBDIRS="cdemo demo depdemo f77demo mdemo mdemo2 pdemo tagdemo"
AC_SUBST([CONF_SUBDIRS])
DIST_MAKEFILE_LIST=
for dir in $CONF_SUBDIRS; do
- DIST_MAKEFILE_LIST="$DIST_MAKEFILE_LIST$dir/Makefile "
+ DIST_MAKEFILE_LIST="${DIST_MAKEFILE_LIST}tests/$dir/Makefile "
done
AC_SUBST([DIST_MAKEFILE_LIST])
OBJEXT="$(OBJEXT)" EXEEXT="$(EXEEXT)" FFLAGS="$(FFLAGS)"
EXTRA_DIST = defs $(COMMON_TESTS) $(CXX_TESTS) $(F77_TESTS)
+DIST_SUBDIRS = $(CONF_SUBDIRS)
+
+# FIXME: Automake-1.7b (at least) only honours DIST_SUBDIRS if SUBDIRS is
+# also set. Remove this line when that bug is fixed.
+SUBDIRS = .
# We need to remove any files that the above tests created.
clean-local: