]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
(clean-local): Don't invoke $(TESTSUITE) if it doesn't exist.
authorPaul Eggert <eggert@cs.ucla.edu>
Fri, 5 Oct 2001 19:05:32 +0000 (19:05 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Fri, 5 Oct 2001 19:05:32 +0000 (19:05 +0000)
Remove *.tmp, as a .tmp file is created during the build of $(TESTSUITE).

tests/Makefile.am

index e57cd849c8d7fe1e01250ee7d558b99c597fb7d1..edbf2a0876d788ab7e764525253d704d76957a03 100644 (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)