From 20da43f8c30ff54a918d5412ca23cb6776a9c810 Mon Sep 17 00:00:00 2001 From: Ian Lynagh Date: Thu, 3 Jul 2008 15:46:47 +0000 Subject: [PATCH] Don't clean bootstrapping bits when cleaning libraries --- libraries/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libraries/Makefile b/libraries/Makefile index 8983a8d..bc5b5b9 100644 --- a/libraries/Makefile +++ b/libraries/Makefile @@ -352,6 +352,8 @@ endif distclean: clean clean: $(foreach SUBDIR,$(SUBDIRS),clean.library.$(SUBDIR)) + -cd filepath && $(CABAL) clean --distpref=dist-bootstrapping + -cd Cabal && $(CABAL) clean --distpref=dist-bootstrapping $(RM) -rf bootstrapping/* $(RM) -f bootstrapping.conf bootstrapping.conf.old $(RM) -f bootstrapping.conf.tmp bootstrapping.conf.tmp.old @@ -368,7 +370,6 @@ $(foreach SUBDIR,$(SUBDIRS),clean.library.$(SUBDIR)): \ clean.library.%: $(RM) -f stamp/configure.library.*.$* $*/unbuildable -cd $* && $(CABAL) clean - -cd $* && $(CABAL) clean --distpref=dist-bootstrapping $(RM) -f $*/Setup $*/Setup.exe $*/Setup.hi $*/Setup.o $(RM) $*/GNUmakefile $*/Makefile.local endif -- 1.7.10.4