On Mon, 2008-08-11 at 01:00 +0100, Claus Reinke wrote:

> 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.

Done:

Usage: cabal haddock [FLAGS]

Flags for haddock:
 -h --help              Show this help text
 -v --verbose[=n]       Control verbosity (n is 0--3, default verbosity level
                        is 1)
    --distpref=DIR      Control which directory Cabal puts its generated files
                        in (default dist)
    --hoogle            Generate a hoogle database
    --html-location=URL Location of HTML documentation for pre-requisite
                        packages
    --executables       Run haddock for Executables targets
    --internal          Run haddock for internal modules and include all
                        symbols
    --css=PATH          Use PATH as the haddock stylesheet
    --hyperlink-source  Hyperlink the documentation to the source code (using
                        HsColour)
    --hscolour-css=PATH Use PATH as the HsColour stylesheet

Requires cpphs and haddock.
Extra options can be set at the configure stage using --haddock-option(s)=


_______________________________________________
Cvs-ghc mailing list
Cvs-ghc@haskell.org
http://www.haskell.org/mailman/listinfo/cvs-ghc

Reply via email to