
17 Jan
2007
17 Jan
'07
5:15 a.m.
Conal Elliott wrote:
I did get working again by commenting out the "-optP-P" that gets passed to Haddock. Now I want to eliminate my local mod. I could easily add a another Cabal Haddock flag that says to omit the -optP-P, but I prefer the solution of checking the Haddock version number, since it would always do the right thing with no intervention. Can anyone give me hints about how to do the version check?
Take a look at how the GHC version check is done - it should be pretty similar. Cheers, Simon