Don't build haddock if HADDOC_DOCS = NO, and disable HADDOC_DOCS if GhcWithInterprete...
authorMatthias Kilian <kili@outback.escape.de>
Sun, 20 Sep 2009 18:13:19 +0000 (18:13 +0000)
committerMatthias Kilian <kili@outback.escape.de>
Sun, 20 Sep 2009 18:13:19 +0000 (18:13 +0000)
commitc6660342270b6121242b77d09cdc38fa2f7f3103
tree79592797befa5dc6a24c65633003d32dfde72346
parent0b00750febd6f39f6a00371c6b39d4e724b06411
Don't build haddock if HADDOC_DOCS = NO, and disable HADDOC_DOCS if GhcWithInterpreter = NO
Haddock uses TcRnDriver.tcRnGetInfo, which is only available if
GHCI is built. Set HADDOC_DOCS to NO if GhcWithInterpreter is NO,
and disable the haddock build if HADDOC_DOCS = NO.
ghc.mk
mk/config.mk.in