This is the mail archive of the
mailing list for the GCC project.
Patch to gcc/Makefile.in:distclean
- From: "Joseph S. Myers" <jsm at polyomino dot org dot uk>
- To: gcc-patches at gcc dot gnu dot org
- Date: Sun, 13 Jun 2004 17:11:36 +0000 (UTC)
- Subject: Patch to gcc/Makefile.in:distclean
gcc/Makefile.in presently tries in make distclean to remove empty front
end directories. This is an unnecessary complication to the front end
interface, that front end directories should be (inconsistently) mentioned
here; make distclean is only of much use when building in the source
directory (otherwise you can just rm -rf objdir), in which case these
directories won't be removed as they won't be empty. Accordingly I
propose the following patch to remove that line from make distclean.
Bootstrapped with no regressions (and passed make distclean through the
gcc directory (it fails later in boehm-gc), outside source directory) on
i686-pc-linux-gnu. OK to commit?
2004-06-13 Joseph S. Myers <firstname.lastname@example.org>
* Makefile.in (distclean): Don't try to remove empty directories.
--- Makefile.in.orig 2004-06-11 15:32:04.000000000 +0000
+++ Makefile.in 2004-06-13 13:19:07.000000000 +0000
@@ -3049,7 +3049,6 @@ distclean: clean lang.distclean
-rm -f fixinc/Makefile
# Delete po/*.gmo only if we are not building in the source directory.
-if [ ! -f po/exgettext ]; then rm -f po/*.gmo; fi
- -rmdir ada cp f java objc fixinc intl po testsuite 2>/dev/null
# Get rid of every file that's generated from some other file, except for `configure'.
# Most of these files ARE PRESENT in the GCC distribution.
Joseph S. Myers