On Thu, Jan 22, 2009 at 04:09:07AM +0000, Simon Peyton-Jones wrote:
> | > so ./boot calls basically autoreconf?
> |
> | Yes, for the root of the tree, and also for any libraries that need it.
> |
> | In the new build system it also creates little Makefiles for each of the
> | libraries.
> 
> Is that necessary.  Can't those little Makefiles simply be part of the source 
> tree?  One less thing to go wrong.  In general we are trying *not* to 
> generate Makefiles in the new setup.

It's a really tiny makefile:

$ cat libraries/directory/ghc.mk
libraries/directory_PACKAGE = directory
$(eval $(call build-package,libraries/directory,dist-install,1))

We could put them in the source tree, but I think that then things would
be more likely to go wrong, as things could get out of sync.

Also, there are no actual rules in the generated makefiles, which I
thought is what we were trying to avoid.


Thanks
Ian

_______________________________________________
Cvs-ghc mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-ghc

Reply via email to