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

Duncan Coutts duncan.coutts at worc.ox.ac.uk
Sun Oct 8 18:45:12 EDT 2006


On Sun, 2006-10-08 at 23:40 +0100, Ross Paterson wrote:
> 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.

Yes certainly.

Though independent of that, I think reading the buildinfo for the
haddock step is necessary too.

Duncan



More information about the Cvs-libraries mailing list