#
# Tickets we can now close, or fix and close:
#
-# * 2966 make sure --with-gcc does the right thing (#2966)
# * 1693 make distclean
# * 3173 make install with DESTDIR
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)