Re: Using dh to build >1 binary package with different configure options

2011-08-12 Thread Gergely Nagy
Tony Houghton writes: > Yes, I'm using the short form. > > Thanks to everyone who showed me how to do this. But I'd also appreciate > some feedback on the question of whether it's sensible to provide two > versions of roxterm this way or should I pick one version and stick to a > simple rules fil

Re: Using dh to build >1 binary package with different configure options

2011-08-12 Thread Tony Houghton
On Fri, 12 Aug 2011 10:53:32 +1000 Karl Goetz wrote: > On Fri, 12 Aug 2011 00:40:34 +0100 > Tony Houghton wrote: > > > I'm pretty sure I once read something about how to get a single > > source package to build multiple binary packages from the same > > source with different configure options.

Re: Using dh to build >1 binary package with different configure options

2011-08-12 Thread Roger Leigh
On Fri, Aug 12, 2011 at 10:18:52AM +0200, Gergely Nagy wrote: > Tony Houghton writes: > > > I'm pretty sure I once read something about how to get a single source > > package to build multiple binary packages from the same source with > > different configure options. Unfortunately I can't remembe

Re: Using dh to build >1 binary package with different configure options

2011-08-12 Thread Gergely Nagy
Didier Raboud writes: > I'm doing it slightly differently, using the --builddirectory parameter of > dh: Yeah, that's pretty much the same thing, with a bit better style =) > And add rm -rf build-* to override_dh_auto_clean. Right, this part I completely forgot to mention. Thanks! -- |8]

Re: Using dh to build >1 binary package with different configure options

2011-08-12 Thread Didier Raboud
Gergely Nagy wrote: > If you're using short form dh, this would be one way to do it: > > override_dh_auto_configure: > install -d debian/build-gtk2 > cd debian/build-gtk2 && ../../configure --with-gtk2 > install -d debian/build-gtk3 > cd debian/build-gtk3 && ../../configur

Re: Using dh to build >1 binary package with different configure options

2011-08-12 Thread Gergely Nagy
Tony Houghton writes: > I'm pretty sure I once read something about how to get a single source > package to build multiple binary packages from the same source with > different configure options. Unfortunately I can't remember what I read > and it didn't apply to dh anyway. Can anyone recommend a

Re: Using dh to build >1 binary package with different configure options

2011-08-11 Thread Karl Goetz
On Fri, 12 Aug 2011 00:40:34 +0100 Tony Houghton wrote: > I'm pretty sure I once read something about how to get a single source > package to build multiple binary packages from the same source with > different configure options. Unfortunately I can't remember what I > read and it didn't apply to