> You should be able to pass --haddock-options to "Setup configure".
Interesting. It would be nice if 'Setup haddock --help' would mention
that, especially since 'Setup configure --help' doesn't mention haddock
by name (I even looked into the Cabal sources, saw the hardcoded
HaddockFlags, and gave up; too early, it seems).
It does mention it by name actually:
The flags --with-PROG and --PROG-option(s) can be used with the following
programs:
alex ar c2hs cpphs ffihugs ghc ghc-pkg greencard haddock happy hmake hsc2hs
hscolour hugs jhc ld nhc98 pkg-config ranlib strip tar
Thanks, I seem to have missed that final paragraph.
If you want something similar for haddock perhaps you can tell us about
your use case here: http://hackage.haskell.org/trac/hackage/ticket/196
For my issue (build failure with insufficient stack space for haddock
called via cabal), it would have been sufficient if 'Setup haddock --help'
would have pointed to 'Setup configure --haddock-option(s)' - a simple
but useful documentation improvement.
Thanks,
Claus
_______________________________________________
Cvs-ghc mailing list
Cvs-ghc@haskell.org
http://www.haskell.org/mailman/listinfo/cvs-ghc