summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorIan Lynagh <ian@well-typed.com>2013-03-03 21:26:25 +0000
committerIan Lynagh <ian@well-typed.com>2013-03-03 21:26:25 +0000
commit2bdc4fdc00f1124ee7f379057a357c1beabbf11c (patch)
tree102ba1097127e41f7dc31f074d4b0461f8e81ad6 /utils
parentddb4879ca33064d68e43b273d42c1624769c0cbe (diff)
downloadhaskell-2bdc4fdc00f1124ee7f379057a357c1beabbf11c.tar.gz
installation fixes
Diffstat (limited to 'utils')
-rw-r--r--utils/ghc-cabal/ghc.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/utils/ghc-cabal/ghc.mk b/utils/ghc-cabal/ghc.mk
index db125986b7..5835749d9f 100644
--- a/utils/ghc-cabal/ghc.mk
+++ b/utils/ghc-cabal/ghc.mk
@@ -20,6 +20,7 @@ CABAL_CONSTRAINT := --constraint="Cabal == $(CABAL_DOTTED_VERSION)"
ghc-cabal_INPLACE = inplace/bin/ghc-cabal$(exeext)
+ifneq "$(BINDIST)" "YES"
$(ghc-cabal_INPLACE) : utils/ghc-cabal/dist/build/tmp/ghc-cabal$(exeext) | $$(dir $$@)/.
"$(CP)" $< $@
@@ -40,6 +41,7 @@ utils/ghc-cabal/dist/build/tmp/ghc-cabal$(exeext): utils/ghc-cabal/Main.hs $(TOU
-ilibraries/hpc \
$(utils/ghc-cabal_dist_EXTRA_HC_OPTS)
"$(TOUCH_CMD)" $@
+endif
# touch is required, because otherwise if mkdirhier is newer, we
# repeatedly rebuild ghc-cabal.