diff options
author | Ian Lynagh <igloo@earth.li> | 2010-09-03 23:19:21 +0000 |
---|---|---|
committer | Ian Lynagh <igloo@earth.li> | 2010-09-03 23:19:21 +0000 |
commit | 897a7d971b52905529624d79d7efe39afcc964de (patch) | |
tree | 00252f5b4bab6f051bcfa9fb4d3851fd3ed7ec66 /ghc.mk | |
parent | dbd4b5697ca01d0c629511b9ff533fd487a2e919 (diff) | |
download | haskell-897a7d971b52905529624d79d7efe39afcc964de.tar.gz |
Don't haddock packages that we aren't going to install
Diffstat (limited to 'ghc.mk')
-rw-r--r-- | ghc.mk | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -312,6 +312,10 @@ define addPackage # args: $1 = package, $2 = condition endif endef +INTREE_ONLY_PACKAGES := haskeline mtl terminfo utf8-string xhtml + +$(foreach p,$(INTREE_ONLY_PACKAGES),$(eval libraries/$p_dist-install_HADDOCK_ME = NO)) + $(eval $(call addPackage,ghc-prim)) ifeq "$(CLEANING)" "YES" $(eval $(call addPackage,integer-gmp)) @@ -897,7 +901,7 @@ INSTALLED_GHC_REAL=$(DESTDIR)$(bindir)/ghc.exe INSTALLED_GHC_PKG_REAL=$(DESTDIR)$(bindir)/ghc-pkg.exe endif -INSTALLED_PACKAGES := $(filter-out haskeline mtl terminfo utf8-string xhtml,$(PACKAGES)) +INSTALLED_PACKAGES := $(filter-out $(INTREE_ONLY_PACKAGES),$(PACKAGES)) ifeq "$(InstallExtraPackages)" "NO" INSTALLED_PACKAGES := $(filter-out $(EXTRA_PACKAGES), $(INSTALLED_PACKAGES)) endif |