[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Request for TC to rule on a course of action for supporting build-arch

On Mon, Jun 06, 2011 at 09:56:22PM +0200, Andreas Barth wrote:
> > >  1) Implement support for calling 'debian/rules build-arch' in place of
> > >     'debian/rules build' by checking for the presence of the target using
> > >     'make -qn'.[1]

> Option 1 also implies forcing debian/rules to be a Makefile, which is
> think is sensible.

Well, it only implies forcing debian/rules to be a makefile *if the package
wants to benefit from build-arch*.

$ make -f config.sub  -qn build-arch; echo $?
config.sub:61: *** missing separator.  Stop.

That's sufficient to let dpkg-buildpackage conclude "build-arch is not
supported", falling back to debian/rules build, without stirring up the old
arguments about whether we want to keep Policy 4.9.

Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                    http://www.debian.org/
slangasek@ubuntu.com                                     vorlon@debian.org

Attachment: signature.asc
Description: Digital signature

Reply to: