[Build-common-hackers] Multi-pass builds

Colin Walters walters@debian.org
22 Jun 2003 17:28:01 -0400

On Fri, 2003-06-20 at 09:42, Jeff Bailey wrote:
> On Fri, 2003-06-20 at 01:42, Colin Walters wrote:
> > Sounds interesting.  Couldn't we just use the per-package rules like
> > configure/foo and configure/bar?
> Well, I wasn't sure - Is there ever a case where there needs to be
> multiple configure runs for a single package?  I've been wrestling with
> that.

I don't think so.

> Also, without specifying something like this, I'm not sure how to tell
> it to run a 'make distclean' (or whatever the appropriate package-clean
> rule is) but make sure that it doesn't run dh_clean -k, etc.

Well, if you rerun configure with different flags, that should cause all
files dependent on config.h to be rebuilt.