Don't clean away inplace/mingw and inplace/perl.
authorniklas <niklas@mm.st>
Thu, 24 Jul 2014 20:02:39 +0000 (22:02 +0200)
committerAustin Seipp <austin@well-typed.com>
Mon, 28 Jul 2014 14:29:18 +0000 (09:29 -0500)
Fixes #9362.

Signed-off-by: Austin Seipp <austin@well-typed.com>
ghc.mk

diff --git a/ghc.mk b/ghc.mk
index e9d7e83..a1d304e 100644 (file)
--- a/ghc.mk
+++ b/ghc.mk
@@ -1235,7 +1235,8 @@ clean_files :
        $(call removeFiles,$(CLEAN_FILES))
 # this is here since CLEAN_FILES can't handle folders
        $(call removeTrees,includes/dist-derivedconstants)
-       $(call removeTrees,inplace)
+       $(call removeTrees,inplace/bin)
+       $(call removeTrees,inplace/lib)
 
 .PHONY: clean_libraries
 clean_libraries: $(patsubst %,clean_libraries/%_dist-install,$(PACKAGES_STAGE1) $(PACKAGES_STAGE2))