On Sat, Sep 06, 2003 at 11:40:34AM +0300, George Danchev wrote: > On Saturday 06 September 2003 07:34, Matt Zimmerman wrote: > > You cannot hope to write a script smart enough to modify an arbitrary > > debian/rules to do what you want. What you need to do is to come up with a > > useful standard for passing this kind of option to debian/rules, and modify > > packages to support it. > > It might be easier if more debian/rules files respect DEB_BUILD_OPTIONS. > I'm not sure what the policies say about that, but could that be a standard ?
DEB_BUILD_OPTIONS is for generic options which apply to almost any package. What you want are package-specific options, like enabling or disabling features. An environment variable would be a reasonable way to implement it, but I think it should be separate from DEB_BUILD_OPTIONS. -- - mdz