22 Sep
2005
22 Sep
'05
8:56 a.m.
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
7645
Age (days ago)
7645
Last active (days ago)
0 comments
1 participants
participants (1)
-
Simon Marlow