simonmar at microsoft.com
Thu Sep 22 04:56:17 EDT 2005
On 21 September 2005 10:22, Johannes Waldmann wrote:
> What's the current story on cabal and haddock?
> I need to run my sources through ghc -cpp
> before giving them to haddock. Does cabal support this
> (e. g. by directing the ghc -cpp output to dist/src )?
Yes, it does. "runhaskell Setup.lhs haddock" will preprocess the
Haskell code before running Haddock over it, which is quite convenient
since Haddock doesn't know how to do any preprocessing itself.
More information about the Haskell