summaryrefslogtreecommitdiff
path: root/ghc.mk
diff options
context:
space:
mode:
authorSimon Marlow <marlowsd@gmail.com>2009-10-06 09:40:00 +0000
committerSimon Marlow <marlowsd@gmail.com>2009-10-06 09:40:00 +0000
commitbb0a30a9bf77c2129c83a427ae5ef8903e856104 (patch)
tree584d233637e3ab472f5c3a14bf0f13185ccbc6e5 /ghc.mk
parentb5384cdf7f1d0e6c326bb939b85acd137b0a589b (diff)
downloadhaskell-bb0a30a9bf77c2129c83a427ae5ef8903e856104.tar.gz
Add ".PRECIOUS: %/."
To quiet those warnings from make about not being able to delete directories.
Diffstat (limited to 'ghc.mk')
-rw-r--r--ghc.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/ghc.mk b/ghc.mk
index 8f2737dd63..5b0f604c77 100644
--- a/ghc.mk
+++ b/ghc.mk
@@ -405,6 +405,9 @@ endif
# -----------------------------------------------------------------------------
# Directories
+# Don't try to delete directories:
+.PRECIOUS: %/.
+
%/. : $(MKDIRHIER)
"$(MKDIRHIER)" $@