On Mon, Sep 26, 2011 at 01:11:02PM -0700, Steve Langasek wrote: > exporting DH_OPTIONS isn't a great solution because the build system options > are *not* common options; debhelper commands other than dh_auto_* will throw > a warning about ignored unknown options if you try to pass > DH_OPTIONS=-Dsource3. I may opt to do it this way anyway because I think > debian/rules cleanliness trumps build log cleanliness, but would prefer > something like a DH_BUILD_OPTIONS env variable - something that's guaranteed > not to result in option name collisions in the future with other per-command > options.
In fact, there seem to already be collisions. I gave this a go, and dh_installdebconf failed: DH_OPTIONS=-Dsource3 fakeroot dh_installdebconf -a Unknown option: D dh_installdebconf: warning: ignored unknown options in DH_OPTIONS ERROR: File rce3 does not exist ...exiting dh_installdebconf: po2debconf rce3 debian/samba.templates > debian/samba/DEBIAN/templates returned exit code 1 So, I guess DH_BUILD_OPTIONS would be the only way. -- 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/ slanga...@ubuntu.com vor...@debian.org
signature.asc
Description: Digital signature