Thanks. Looks simple enough, and I compiled up a version that works this way. I don't know how to get ghc to use it. When I "./setup install", I get Cabal-1.1.7 registered, but my ghc-6.6 wants to use Cabal-1.1.6
instead. <br><br>Worse, I unregistered 1.1.6, and now I can't use cabal at all with ghc. Do you know how get 1.1.6 back short of re-installing ghc?<br><br>BTW, I noticed in the function "haddock" in Distribution.Simple
, the line "++ programArgs confHaddock", which leads me to suspect that there's an approach getting extra Haddock arguments passed by tweaking my Setup.lhs. Is that so?<br><br>Cheers, - Conal<br><br><br><div>
<span class="gmail_quote">On 1/7/07, <b class="gmail_sendername">Duncan Coutts</b> <<a href="mailto:duncan.coutts@worc.ox.ac.uk">duncan.coutts@worc.ox.ac.uk</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On Sun, 2007-01-07 at 10:42 -0800, Conal Elliott wrote:<br>> I want Cabal to pass the source-module and source-entity flags to<br>> haddock. I can probably figure out how to add these flags into the<br>> Cabal source (following the example of --hoogle), but I wonder if
<br>> there's a better way. Any suggestions?<br><br>runhaskell Setup.hs configure --haddock-args="--source-module=..."<br><br>> If source mod, is there a process for me to follow? To whom would I<br>
> send the patch?<br><br>If you use 'darcs send' to send in your patch then it should just work,<br>the address has already been set. If darcs send doesn't work for you (eg<br>if you've not got local mail working) then you can email it to the
<br><a href="mailto:cabal-devel@haskell.org">cabal-devel@haskell.org</a> mailing list.<br><br>Duncan<br><br></blockquote></div><br>