Graham Wilson <[EMAIL PROTECTED]> wrote: > On Sun, Oct 19, 2003 at 03:22:11PM +0200, Andreas Metzler wrote: >> It is noteworthy that the split build-arch/build-all seems to be next >> to useless, as dpkg-buildpackage invokes build (because the former two >> a optional) and "the build target should depend on those of the >> targets build-arch and build-indep that are provided in the rules >> file."
> Why exactly is this? Is this really the correct behavior? Shouldn't > dpk-buildpackage be invoked using the -B option? It is, and quoting /usr/bin/dpkg-buildpackage ... | -B) binaryonly=-B; checkbuilddep_args=-B; binarytarget=binary-arch; [...] | if [ x$sourceonly = x ]; then | withecho debian/rules build | withecho $rootcommand debian/rules $binarytarget | fi ... this invokes debian/rules build Afaict the reason for this is that build-arch and build-all are optional targets per policy. cu andreas -- Hey, da ist ein Ballonautomat auf der Toilette! Unofficial _Debian-packages_ of latest unstable _tin_ http://www.logic.univie.ac.at/~ametzler/debian/tin-snapshot/