2016-10-14 Keith Marshall <keithmarshall@users.sourceforge.net>
+ Add dependency tracking for tests/Makefile.
+
+ * tests/Makefile.in (top_builddir): Define it.
+ (Makefile): Add automatic rebuild rule, tracking both srcdir and
+ top_builddir prerequisite changes.
+
+2016-10-14 Keith Marshall <keithmarshall@users.sourceforge.net>
+
Correct a minor typographic error.
* tests/atlocal.in (autoconf_input): Replace invalid AC_SUBST tag...
srcdir = @srcdir@
top_srcdir = @top_srcdir@
+top_builddir = @top_builddir@
# The default rule is "check"; it is a synonym for the "check-recursive"
# request, from the parent directory's make process, which initiates the
check-install: testsuite.install
check-pretest: testsuite.pretest headers.at.pretest
+vpath Makefile.in ${srcdir}
+vpath config.status ${top_builddir}
+Makefile: %: %.in config.status
+ cd ${top_builddir}; ./config.status $(notdir ${CURDIR})/$@
+
LN_S = @LN_S@
# Favour any copy of the testsuite which already exists in the build