More make distclean

Geoff Keating geoffk@geoffk.org
Mon Jun 10 17:05:00 GMT 2002


Zack Weinberg <zack@codesourcery.com> writes:

> The last patch on this subject missed the testsuite.  I don't see why
> some of these things survive past the "make check" in the first
> place -- could some dejagnu experts please take a look?

Some of them survive when the test fails, to make it easier to debug
the failure.

> There is also a bunch of junk left in $(objdir)/gcc/ada, which I am
> not qualified to figure out how to delete without screwing up
> src=build configurations.

The patch is OK, anyway.

> 	* Makefile.in (distclean): Delete junk left in testsuite
> 	directory, too.
> 
> ===================================================================
> Index: Makefile.in
> --- Makefile.in	10 Jun 2002 22:35:40 -0000	1.896
> +++ Makefile.in	10 Jun 2002 22:38:58 -0000
> @@ -2581,6 +2581,8 @@ distclean: clean $(INTL_DISTCLEAN) lang.
>  	-rm -f float.h
>  	-rm -f site.exp site.bak testsuite/site.exp testsuite/site.bak
>  	-rm -f testsuite/*.log testsuite/*.sum
> +	-cd testsuite && rm -f x *.x *.x? *.exe *.rpo *.o *.s *.S *.c
> +	-cd testsuite && rm -f *.out *.gcov *.bb *.bbg
>  	-rm -rf ${QMTEST_DIR} stamp-qmtest
>  	-rm -f intl/libintl.h libintl.h
>  	-rm -f cxxmain.c

-- 
- Geoffrey Keating <geoffk@geoffk.org> <geoffk@redhat.com>



More information about the Gcc-patches mailing list