bison-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

"make clean" problem in bison/tests


From: Paul Eggert
Subject: "make clean" problem in bison/tests
Date: 07 Oct 2003 16:38:02 -0700
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3

I ran into minor trouble when 'testsuite' didn't exist; 'make clean' failed.
I installed this:

2003-10-07  Paul Eggert  <address@hidden>

        * tests/Makefile.am (clean-local): Don't run 'testsuite --clean'
        if testsuite doesn't exist.

--- Makefile.am.~1.32.~ Mon Aug 25 00:15:49 2003
+++ Makefile.am Tue Oct  7 16:33:12 2003
@@ -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)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]