[Build-common-hackers] Bug#462382: Bug#462382: runs configure twice on application builds

Peter Eisentraut peter_e at gmx.net
Thu Jan 31 13:21:05 UTC 2008

Am Donnerstag, 24. Januar 2008 schrieb Riku Voipio:
> cdbs appears to cause many autonconfigured applications to run configure
> twice. For a recent example, boinc-app-seti[1]

It looks like this is an issue of using make properly.  The problem is this 
post-patches target:

        aclocal-1.9 -I m4 && autoheader && automake-1.9 && autoconf

As you can see in /usr/share/doc/cdbs/buildcore.png, post-patches is a 
dependency of just about everything, so whenever this target runs, everything 
else needs to be run as well.

I suggest you use an approach with stamp files.  I could make it work like 

post-patches:: autofoo-stamp
        aclocal-1.9 -I m4 && autoheader && automake-1.9 && autoconf
        touch autofoo-stamp

More information about the Build-common-hackers mailing list