testsuite.at has to be distributed or "make" from a distributed tarball
will have to make it, which means that the system used for building needs
Autoconf installed and will need to write to the source directory.
testsuite.at cannot depend on the Makefile or it will have to be rebuilt
every time "configure" runs, which would also cause the problems mentioned
above.
TESTSUITE = $(srcdir)/tests/testsuite
DISTCLEANFILES += tests/atconfig tests/atlocal $(TESTSUITE)
-$(srcdir)/tests/testsuite.at: tests/testsuite.in Makefile
+$(srcdir)/tests/testsuite.at: tests/testsuite.in tests/automake.mk
cp $< $@
for t in $(TESTSUITE_AT); do \
echo "m4_include([$$t])" >> $@ ;\
done
-
+EXTRA_DIST += tests/testsuite.at
CHECK_LOCAL += tests_check
tests_check: tests/atconfig tests/atlocal $(TESTSUITE) $(check_PROGRAMS)