patch applied (packages/Cabal): Read the buildinfo for the haddock step.

Ross Paterson ross at soi.city.ac.uk
Sun Oct 8 18:40:18 EDT 2006


On Sat, Oct 07, 2006 at 08:33:24AM -0700, Duncan Coutts wrote:
> Thu Oct  5 14:21:38 PDT 2006  Duncan Coutts <duncan.coutts at worc.ox.ac.uk>
>   * Read the buildinfo for the haddock step.
>   In particular this means we pick up any cc-options that are
>   needed for preprocessing the source before haddock reads it.
>   This fixes the haddock build step for many of the packages in
>   the ghc-extralibs collection.

That solves the pressing problem for 6.6, but in the longer term it
would be cleaner to introduce cpp-options or cpphs-options for options
to be passed to cpphs when preprocessing Haskell source.  It really was
an awful kludge to re-use cc-options for this.



More information about the Cvs-libraries mailing list