Add ".PRECIOUS: %/."
authorSimon Marlow <marlowsd@gmail.com>
Tue, 6 Oct 2009 09:40:00 +0000 (09:40 +0000)
committerSimon Marlow <marlowsd@gmail.com>
Tue, 6 Oct 2009 09:40:00 +0000 (09:40 +0000)
To quiet those warnings from make about not being able to delete
directories.

ghc.mk

diff --git a/ghc.mk b/ghc.mk
index 8f2737d..5b0f604 100644 (file)
--- a/ghc.mk
+++ b/ghc.mk
@@ -405,6 +405,9 @@ endif
 # -----------------------------------------------------------------------------
 # Directories
 
+# Don't try to delete directories:
+.PRECIOUS: %/.
+
 %/. : $(MKDIRHIER)
        "$(MKDIRHIER)" $@