Set CLEANING=YES for the clean_% targets
authorIan Lynagh <igloo@earth.li>
Wed, 20 May 2009 11:43:12 +0000 (11:43 +0000)
committerIan Lynagh <igloo@earth.li>
Wed, 20 May 2009 11:43:12 +0000 (11:43 +0000)
Makefile

index a80dcee..ec55261 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -81,7 +81,7 @@ clean distclean maintainer-clean:
        test ! -d testsuite || $(MAKE) -C testsuite $@
 
 $(filter clean_%, $(MAKECMDGOALS)) : clean_% :
-       $(MAKE) -r --no-print-directory -f ghc.mk $@
+       $(MAKE) -r --no-print-directory -f ghc.mk $@ CLEANING=YES
 
 bootstrapping-files show: $(PACKAGE_MK)
        $(MAKE) -r --no-print-directory -f ghc.mk $@