Paul Moore wrote:
On 12/12/06, Ketil Malde <[EMAIL PROTECTED]> wrote:

I'm possibly using cabal in a simplistic way, but I generally do either

   ./Setup.lhs configure -p
   ./Setup.lhs build
   ./Setup.lhs install

[...]

This is a lot of typing, and at least once I wrote a Makefile to
automate it (oh, the irony of it!)
Anyway, it would be nice if a 'cabal' command automated the whole
sequence in one go, at least as an option.


I come from a Python background, and Python's distutils (which feels
very like cabal - or should that be the other way round?) tends to
have later commands include earlier ones. So,

   setup.py install

automatically does "build" (there is no explicit configure step).

Sounds entirely reasonable to me. Though configure takes a bunch of arguments; so if configure is run automatically it'll always be with the default settings. Maybe that's ok.

Simon
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to