Hi Gary,

You beat me to it.  :)

* Gary V. Vaughan wrote on Fri, Mar 11, 2005 at 12:40:23PM CET:
>   
>   from  Per Bothner  <[EMAIL PROTECTED]>  (tiny change)
>   
>       * tests/Makefile (clean-local): Only run the testsuite cleanup
>       if the testsuite has been generated.
>   
>   --- orig/tests/Makefile.am
>   +++ mod/tests/Makefile.am
>   @@ -60,7 +60,8 @@
>    
>    # We need to remove any file droppings left behind by testsuite
>    clean-local: clean-local-legacy
>   -   $(SHELL) $(srcdir)/$(TESTSUITE) --clean
>   +   test -f $(srcdir)/$(TESTSUITE) && \
>   +     $(SHELL) $(srcdir)/$(TESTSUITE) --clean
>    
>    DISTCLEANFILES = atconfig

Don't we also want to ignore errors from clean rules?
        -test -f $(srcdir)/$(TESTSUITE) && \
          $(SHELL) $(srcdir)/$(TESTSUITE) --clean

I could not find a definite answer in the GCS or Automake docs (it's
used in an example there), but I think that should be the rule.

Regards,
Ralf


Reply via email to