summaryrefslogtreecommitdiff
path: root/utils/runghc
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2009-10-02 19:12:18 +0000
committerIan Lynagh <igloo@earth.li>2009-10-02 19:12:18 +0000
commit883d980815437736c486bf69b2f066ef918d2989 (patch)
tree51590d522003ca6220ff2ee98f29c1c67991fb4c /utils/runghc
parent6a2a21971ae1a29bf296ecc8652f7cb86b71e7bb (diff)
downloadhaskell-883d980815437736c486bf69b2f066ef918d2989.tar.gz
Use "order only constraints" for directories
There are now 104 calls to mkdirhier, down from 1201, when validating.
Diffstat (limited to 'utils/runghc')
-rw-r--r--utils/runghc/ghc.mk3
1 files changed, 1 insertions, 2 deletions
diff --git a/utils/runghc/ghc.mk b/utils/runghc/ghc.mk
index b43634eaab..8892ce0c82 100644
--- a/utils/runghc/ghc.mk
+++ b/utils/runghc/ghc.mk
@@ -18,8 +18,7 @@ utils/runghc_dist_INSTALL_SHELL_WRAPPER = YES
ifneq "$(BINDIST)" "YES"
# hack: the build system has trouble with Main modules not called Main.hs
-utils/runghc/dist/build/Main.hs : utils/runghc/runghc.hs $(MKDIRHIER)
- "$(MKDIRHIER)" $(dir $@)
+utils/runghc/dist/build/Main.hs : utils/runghc/runghc.hs | $$(dir $$@)/.
"$(CP)" $< $@
endif