summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2009-05-21 22:35:19 +0000
committerIan Lynagh <igloo@earth.li>2009-05-21 22:35:19 +0000
commitacc388da8a787889597f34ccd704e24234763015 (patch)
tree119ad594e93fade1566e2ce4fe44b1a6909e7859
parent51031bf32cb2dc1772ae7730c0245112da430951 (diff)
downloadhaskell-acc388da8a787889597f34ccd704e24234763015.tar.gz
Fix unregisterised bindists
-rw-r--r--ghc.mk8
1 files changed, 6 insertions, 2 deletions
diff --git a/ghc.mk b/ghc.mk
index c6e0b58ec9..bd2bf7c16a 100644
--- a/ghc.mk
+++ b/ghc.mk
@@ -468,11 +468,15 @@ BUILD_DIRS += \
gmp \
docs/users_guide \
libraries/Cabal/doc \
- $(GHC_MANGLER_DIR) \
- $(GHC_SPLIT_DIR) \
$(GHC_UNLIT_DIR) \
$(GHC_HP2PS_DIR)
+ifneq "$(GhcUnregisterised)" "YES"
+BUILD_DIRS += \
+ $(GHC_MANGLER_DIR) \
+ $(GHC_SPLIT_DIR)
+endif
+
ifneq "$(BINDIST)" "YES"
BUILD_DIRS += \
$(GHC_GENPRIMOP_DIR)