Build fails with missing haddock for HEAD
Ian Lynagh
igloo at earth.li
Wed May 16 20:45:26 EDT 2007
On Wed, May 16, 2007 at 01:16:14PM +0200, Jost Berthold wrote:
>
> I have looked at ifBuildable.hs and Setup.hs, without getting a clue how
> to switch off the haddock phase.
> ifBuildable checks for buildable packages and complains if core packages
> are not; and Setup is part of Cabal, calling quite a few internal
> functions which I don't know. None of these files mentions haddock.
> The libraries/Makefile contains some parts depending on NO_HADDOCK_DOCS,
> so I set this to "YES" in mk/build.mk, but with no effect.
I've just done a build with this in mk/build.mk (only the last line
should be relevant):
SRC_HC_OPTS = -H64m -Onot -fasm
GhcStage1HcOpts = -O -fasm
GhcStage2HcOpts = -Onot -fasm
GhcLibHcOpts = -Onot -fasm
GhcLibWays =
SplitObjs = NO
GENERATED_FILE = :
NO_HADDOCK_DOCS = YES
and make doesn't try to run haddock. I can't think why it wouldn't work
for you; do you have anything else in mk/build.mk?
Thanks
Ian
More information about the Cvs-ghc
mailing list