Re: Environment variables, debian/rules and dpkg-buildpackage
On Mon, May 04 2009, Raphael Hertzog wrote:
> On Mon, 04 May 2009, Guillem Jover wrote:
>> ,-- debian/rules
>> -include /usr/share/dpkg/build-options.mk
>> # package overrides
>> FOO := pkg
> Probably without the leading "-", otherwise we have a risk to not have
> any sane default at all.
I disagree. Without the leading -, it would make it impossible
to build on a machine with older dpkg -- and why be unnecessarily
unfriendly to backporters?
If you want sane defaults, by all means provide sane defaults
> And we should add a build-dependency instead.
And restrict the machines where the package can be built? I
> Or maybe that choice can be left to the maintainer.
This is better than forcing people into restricting the
platforms where their sources can be built, but still a cop
out. Guillem's proposal is technically better.
You k'n hide de fier, but w'at you gwine do wid de smoke? Joel Chandler
Harris, proverbs of Uncle Remus
Manoj Srivastava <email@example.com> <http://www.debian.org/~srivasta/>
1024D/BF24424C print 4966 F272 D093 B493 410B 924B 21BA DABB BF24 424C