[Build-common-hackers] cdbs v2 buildcore.mk idea

Jeff Bailey jbailey@nisa.net
Sat, 15 Nov 2003 06:54:05 -0800


On Sat, Nov 15, 2003 at 01:15:42AM -0600, Chris Cheney wrote:
> Here is my idea of a restructuring of buildcore.mk.in for cdbs v2.
> 
> Any comments?

I like the direction that this is going - I need to put in my multibuild
stuff soon to show you what needs to change here, I think.  If you have
time, you can see the first draft of it, that I used in the glibc
packaging.  (Nothing quite like using glibc as a testbed for cdbs, eh?)

The idea is to be able to specify a certain number of "PASSES" that
allow multiple configure runs, different build directories, and
potentially even different cdbs modules to be run.  Like there's no
reason why a combined package couldn't have one section that was
autoconf based, and other packages that had different things.  You might
see this in large packages with plugins sets or what not.  (Nagios and
Mozilla come to mind, although they might have cleaned up their build
env by now)

HTH.  With any luck, I'll have more time this week or so.  Basically,
I've got a university programming course that I have to finish in the
next 2 weeks, that I haven't started yet, in a language I don't know. =)

Tks,
Jeff Bailey