[Haskell-cafe] How to disable document in .cabal file?

Albert Y. C. Lai trebla at vex.net
Tue Jan 15 23:45:39 CET 2013

On 13-01-15 12:06 AM, Magicloud Magiclouds wrote:
>    I have enabled document in .cabal/config, so I could get document
> every time I installed libraries or so.
>    But when I compile my own applications, it also takes time on
> generating non-exist documents. How to disable it just for this project?

If "cabal install": add --disable-documentation.
See also "cabal install --help".

If "cabal configure" and "cabal build" etc: nothing to do, just omit 
"cabal haddock".

More information about the Haskell-Cafe mailing list