[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: FYI: only run testsuite --clean if testsuite exists [libtool--devo--
From: |
Ralf Wildenhues |
Subject: |
Re: FYI: only run testsuite --clean if testsuite exists [libtool--devo--1.0--patch-65] |
Date: |
Fri, 11 Mar 2005 13:08:41 +0100 |
User-agent: |
Mutt/1.4.1i |
Hi Gary,
You beat me to it. :)
* Gary V. Vaughan wrote on Fri, Mar 11, 2005 at 12:40:23PM CET:
>
> from Per Bothner <address@hidden> (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