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.

Cheers,
        Simon
_______________________________________________
Haskell mailing list
Haskell@haskell.org
http://www.haskell.org/mailman/listinfo/haskell

Reply via email to