patch applied (packages/Cabal): Read the buildinfo for the
haddock step.
Ross Paterson
ross at soi.city.ac.uk
Sun Oct 8 19:00:43 EDT 2006
On Sun, Oct 08, 2006 at 11:45:12PM +0100, Duncan Coutts wrote:
> 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.
True, since the cpphs options in these cases are platform-dependent.
And you need the configure step before haddock anyway.
More information about the Cvs-libraries
mailing list