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

Re: dpkg-buildpackage now sets DEB_BUILD_HOST etc for you?

On Fri, Mar 30, 2012 at 14:08:33 +0100, Roger Leigh wrote:

> Would there not be some advantage to making dpkg-buildpackge the
> interface for building?  (Not dropping the debian/rules interface,
> of course.)  This would permit the automatic setting of all the
> host- and build-related variables without requiring every package
> to also set them by hand.  It would of course still be possible
> to build using debian/rules directly, but it wouldn't be required
> to set the flags.
I'm not sure how you reconcile "make dpkg-buildpackage the interface for
building" and "not dropping the debian/rules interface".  If you say
packages are allowed to use variables they don't set, then that means
"debian/rules build" is allowed to fail, which would be a pain when
working on a package, and effectively means "dropping the debian/rules
interface" AFAICT.


Attachment: signature.asc
Description: Digital signature

Reply to: