]> git.saurik.com Git - bison.git/commitdiff
Don't run 'testsuite --clean' if testsuite doesn't exist.
authorPaul Eggert <eggert@cs.ucla.edu>
Tue, 7 Oct 2003 23:34:20 +0000 (23:34 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Tue, 7 Oct 2003 23:34:20 +0000 (23:34 +0000)
ChangeLog
tests/Makefile.am

index 446bafe540c7826fd31ca1b2147c50dd8bdec763..129f0e1207d8841f53f31311c1e072711898d0c0 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2003-10-07  Paul Eggert  <eggert@twinsun.com>
 
+       * tests/Makefile.am (clean-local): Don't run 'testsuite --clean'
+       if testsuite doesn't exist.
+
        * doc/bison.texinfo (Symbols): NUL bytes are not allowed in string
        literals, unfortunately.
        * src/scan-gram.l (<SC_ESCAPED_STRING,SC_ESCAPED_CHARACTER>):
index 960d658672ed25cb7ce5a45f6892c1d163428849..82bc10d89a8bd1b4dd35335bd334f519458184cf 100644 (file)
@@ -63,7 +63,7 @@ atconfig: $(top_builddir)/config.status
        cd $(top_builddir) && ./config.status tests/$@
 
 clean-local:
-       $(SHELL) $(TESTSUITE) --clean
+       test ! -f $(TESTSUITE) || $(SHELL) $(TESTSUITE) --clean
 
 check-local: atconfig atlocal $(TESTSUITE)
        $(SHELL) $(TESTSUITE)