getting cabal to pass more info to haddock

Duncan Coutts duncan.coutts at
Sun Jan 7 13:52:27 EST 2007

On Sun, 2007-01-07 at 10:42 -0800, Conal Elliott wrote:
> I want Cabal to pass the source-module and source-entity flags to
> haddock.  I can probably figure out how to add these flags into the
> Cabal source (following the example of --hoogle), but I wonder if
> there's a better way.  Any suggestions?

runhaskell Setup.hs configure --haddock-args="--source-module=..."

> If source mod, is there a process for me to follow?  To whom would I
> send the patch?

If you use 'darcs send' to send in your patch then it should just work,
the address has already been set. If darcs send doesn't work for you (eg
if you've not got local mail working) then you can email it to the
cabal-devel at mailing list.


More information about the Libraries mailing list