Bug#148932: dpkg-dev: dpkg-buildpackage -B should try build-arch target
Wichert Akkerman wrote:
> Previously Peter S Galbraith wrote:
> > It would be nice if `dpkg-buildpackage -B` first tried the build-arch
> > target of debian/rules and only revert to the more lengthy and wasteful
> > build target if build-arch weren't present.
> Issue is how to detect if debian/rules does not support build-arch.
> Debian policy dictates that debian/rules has to be a makefile but
> dpkg does not make that demand so we will need to work out a make
> compatible method if detecting target support. Until that is done
> and document we'll have to put this on hold.
> > I'm sure this would help slower arches such as m68k keep up.
> I suspect the effect will be very small actually. I don't think I have
> ever seen a package that supports a build-arch target.
Build it and they will come. :-)
Meaning that people will start writing compliant rules files when
the feature is useful. Anyway, my gri package suuports it.
To UNSUBSCRIBE, email to email@example.com
with a subject of "unsubscribe". Trouble? Contact firstname.lastname@example.org