(clean-local): Don't invoke $(TESTSUITE) if it doesn't exist.

Remove *.tmp, as a .tmp file is created during the build of $(TESTSUITE).
This commit is contained in:
Paul Eggert 2001-10-05 19:05:32 +00:00
parent 6004aba874
commit 1c574927f1

View File

@ -67,7 +67,8 @@ atlocal: $(srcdir)/atlocal.in $(top_builddir)/config.status
cd $(top_builddir) && ./config.status tests/$@
clean-local:
$(SHELL) $(TESTSUITE) --clean
test ! -f $(TESTSUITE) || $(SHELL) $(TESTSUITE) --clean
rm -f *.tmp
rm -rf autom4te.cache
check-local: atconfig atlocal $(TESTSUITE)