22 Apr
2005
22 Apr
'05
7:12 a.m.
Johannes Waldmann <waldmann@imn.htwk-leipzig.de> writes:
What is the preferred way to generate haddockumentation from code that must be preprocessed (ghc -cpp)?
Would Cabal support this?
Cabal does support this. If you use the CPP extension, it'll preprocess the code before running haddock on it.
I'd certainly welcome Cabal support for other haddock features as well (--source, --read-interface). I am not sure where to put all these arguments in the .cabal file.
Cabal doesn't support these yet, though. Maybe in the future. peace, isaac