AUTOTEST = $(AUTOM4TE) --language=autotest
$(TESTSUITE): package.m4 $(TESTSUITE_AT)
- echo "WARNING: Multiple inclusion warning should be ignored." >&2
$(AUTOTEST) -I $(srcdir) testsuite.at -o $@.tmp
mv $@.tmp $@
cd $(top_builddir) && ./config.status tests/$@
clean-local:
- $(SHELL) $(TESTSUITE) --clean
+ test ! -f $(TESTSUITE) || $(SHELL) $(TESTSUITE) --clean
check-local: atconfig atlocal $(TESTSUITE)
$(SHELL) $(TESTSUITE)