[Build-common-hackers] rewrite plans

Tom Huckstep tom-lists-cdbs@jaguarpaw.co.uk
Tue, 25 May 2004 00:59:41 +0100


On Sun, May 23, 2004 at 06:30:53PM +0000, W. Borgert wrote:
> Perl would be a no-go area for me.  I did a lot of perl
> stuff and it's the world of pain!  make, sh, or scons would
> be better, don't you think?  Perl is evil, scons is cool :-)

I've just had a look at SCons, and it does look rather useful.  It's not
immediately obvious to me how to apply this to a Debian build system
though.  What did you have in mind?

I've started writing a simple build system in Python, which basically allows
you to build a queue of tasks, which is run through at each of five phases:
prepare, build, install, package, clean.  I'm very happy with the front end,
which sticks to the CDBS principle of five line rules files!  Once the back
end is slightly more polished I'll stick up a tarball.

I think Python is the way forward, whatever direction we're going :-)

Tom