Remove Setup.hs, use Setup.lhs only

Duncan Coutts duncan.coutts at worc.ox.ac.uk
Tue Nov 21 20:36:13 EST 2006


On Tue, 2006-11-21 at 18:43 +0000, Ian Lynagh wrote:

> There are also a couple of larger problems I've had. For example, when
> writing a Makefile that builds all cabal packages in subdirectories
> (i.e. (re)make setup if necessary, configure and build) it is hard (for
> me at least!) to tell make "setup depends on whichever of Setup.hs and
> Setup.lhs exists".

Note that in future we intend to allow there being no Setup.(l)hs at all
when using cabal-setup. No Setup.(l)hs file would be equivalent to the
basic one that uses defaultMain.

So how would that affect your makefile?

Duncan



More information about the cabal-devel mailing list