darcs patch: don't automatically include install-incl... (and 2 more)

Hi,
I've discussed my previous patch ("add extra-includes field to buildinfo")
with Duncan and we came to the conclusion that adding a new field is not
necessary.
Instead, the semantics of the install-include: field can be changed so
that the files listed there are only installed but not automatically
included in compilations via C. The inclusion can still be achieved by
listing the file in the includes: field as well. (This is an incompatible
change but it should not affect too many packages, I hope.)
See the patch descriptions below for details. The patches are tested
with ghc HEAD with an updated cabal file for the base file.
Thinking about these patches uncovered a different problem: it is hard
to include files that come with the package itself in the packages'
compilation. The base package (my working example) uses the trick of
listing "../../includes" in the include-dirs field. This works, but
it's not very pretty. I have no good solution for that problem at the
moment though.
Bertram
Fri Apr 20 14:34:18 CEST 2007 Bertram Felgenhauer

On Fri, 2007-04-20 at 15:28 +0200, Bertram Felgenhauer wrote:
Hi,
I've discussed my previous patch ("add extra-includes field to buildinfo") with Duncan and we came to the conclusion that adding a new field is not necessary.
Cheers Bertram, I'll give people a day or two to raise issues about this, otherwise I'm inclined to apply it. Duncan
participants (2)
-
Bertram Felgenhauer
-
Duncan Coutts