This is the mail archive of the mailing list for the GCC project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Patch to gcc/

gcc/ 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  <>

	* (distclean): Don't try to remove empty directories.

---	2004-06-11 15:32:04.000000000 +0000
+++	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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]