On Mon, Sep 26, 2011 at 07:52:49PM -0400, Joey Hess wrote: > Steve Langasek wrote: > > It would be nice if it weren't necessary to duplicate the -D option in > > distinct override rules for each command, since obviously the option used > > should be the same for each of these (and for dh_auto_test, which I'm not > > bothering to override in this case). For samba this would only save us one > > override rule (dh_auto_clean) since we have other needs for overriding each > > of the others, but reducing the duplicated code is still valuable, and other > > packages may benefit much more. > > > > 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.
> Pass -D to dh. There is an example in its man page: > Here is an example of overriding where the dh_auto_* > commands find the package's source, for a package where > the source is located in a subdirectory. > #!/usr/bin/make -f > %: > dh $@ --sourcedirectory=src Ahh, didn't think to look there since all the other buildsystem documentation is in debhelper(7). Maybe a pointer from the one manpage to the other? Thanks, -- 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