diff options
author | Joachim Breitner <mail@joachim-breitner.de> | 2014-11-18 10:44:23 +0100 |
---|---|---|
committer | Joachim Breitner <mail@joachim-breitner.de> | 2014-11-18 10:44:23 +0100 |
commit | aa1c1b2a364e443ceb11b898cf3e648c14954fd9 (patch) | |
tree | 369b3f36c051a61b600d405b32f01e25364af84a /ghc.mk | |
parent | b9096df6a9733e38e15361e79973ef5659fc5c22 (diff) | |
download | haskell-aa1c1b2a364e443ceb11b898cf3e648c14954fd9.tar.gz |
Build xhtml and haddock only when `HADDOCK_DOCS=YES`
This fixes #8558
Diffstat (limited to 'ghc.mk')
-rw-r--r-- | ghc.mk | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -425,7 +425,10 @@ PACKAGES_STAGE2 += haskell98 PACKAGES_STAGE2 += haskell2010 endif +ifeq "$(HADDOCK_DOCS)" "YES" PACKAGES_STAGE1 += xhtml +endif + ifeq "$(Windows_Target)" "NO" ifneq "$(TargetOS_CPP)" "ios" PACKAGES_STAGE1 += terminfo @@ -665,8 +668,11 @@ else ifneq "$(findstring clean,$(MAKECMDGOALS))" "" BUILD_DIRS += libraries/integer-gmp2/gmp endif +ifeq "$(HADDOCK_DOCS)" "YES" BUILD_DIRS += utils/haddock BUILD_DIRS += utils/haddock/doc +endif + BUILD_DIRS += compiler BUILD_DIRS += utils/hsc2hs BUILD_DIRS += utils/ghc-pkg |