summaryrefslogtreecommitdiff
path: root/utils/mkdirhier/ghc.mk
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2009-04-26 11:42:15 +0000
committerIan Lynagh <igloo@earth.li>2009-04-26 11:42:15 +0000
commit34cc75e1a62638f2833815746ebce0a9114dc26b (patch)
treeef21e8fd7af1356beea9cce7d6efb8a65374e24c /utils/mkdirhier/ghc.mk
parent74e1368d4688ee16f6decdf2cd3ebe27506b26ba (diff)
downloadhaskell-34cc75e1a62638f2833815746ebce0a9114dc26b.tar.gz
GHC new build system megapatch
Diffstat (limited to 'utils/mkdirhier/ghc.mk')
-rw-r--r--utils/mkdirhier/ghc.mk11
1 files changed, 11 insertions, 0 deletions
diff --git a/utils/mkdirhier/ghc.mk b/utils/mkdirhier/ghc.mk
new file mode 100644
index 0000000000..59ad53fe69
--- /dev/null
+++ b/utils/mkdirhier/ghc.mk
@@ -0,0 +1,11 @@
+$(MKDIRHIER) : utils/mkdirhier/mkdirhier.sh
+ -mkdir $(INPLACE)
+ -mkdir $(INPLACE_BIN)
+ -mkdir $(INPLACE_LIB)
+ $(RM) -f $@
+ echo '#!$(SHELL)' >> $@
+ cat utils/mkdirhier/mkdirhier.sh >> $@
+ $(EXECUTABLE_FILE) $@
+
+$(eval $(call all-target,utils/mkdirhier,$(MKDIRHIER)))
+$(eval $(call clean-target,utils/mkdirhier,,$(MKDIRHIER)))