Corrections to make clean/distclean

Geoff Keating
Sun Jun 9 23:35:00 GMT 2002

Zack Weinberg <> writes:

> This patch makes some corrections to the clean and distclean rules in
> the gcc subdirectory.  "make distclean" in a src!=build situation,
> from the gcc subdir, now leaves you with an empty directory.
> Probably the most significant change in here is the addition of all
> the gt-* and gtype-* files to STAGESTUFF.  That was a bug in itself,
> separate from the cleanup changes, but it was also the right way to
> get them deleted on "make clean"...
> OK to install?

This is OK.

> 	* (STAGESTUFF): Add s-gtype, gt-*.h, gtype-*.h,
> 	and gtype-desc.c.
> 	(mostlyclean): Delete specs.h, options.h, gencheck.h here...
> 	(distclean): ... not here.  But do delete all testsuite/*.log,
> 	testsuite/*.sum files here.  Delete mkheaders.  Delete
> 	po/*.gmo and the testsuite directory in a split tree build.
- Geoffrey Keating <> <>

More information about the Gcc-patches mailing list