[Build-common-hackers] Re: Multiple package variants with CDBS?
qjb at debian.org
Sat Jan 28 15:43:49 UTC 2006
"W. Borgert" <debacle at debian.org> wrote:
> I have a package that is configured and compiled two times, so
> that two binary packages are built in one dpkg-buildpackage run:
> One with --enable-gnome, the second without. Is this supported
> by CDBS somehow? Is there a package, that already does such a
> thing using CDBS? Any hint or example debian/rules file
> appreciated, thanks in advance!
I used to do this kind of thing with the xerces packages. I no longer
do, but the versions of xerces25 and xerces26 in sarge still
demonstrate one way to do it. Feel free to contact me off list if you
look at this and have any questions about how it works. The basic
approach I used was to create two symlink farms to the extracted
sources and build once in each location.
Jay Berkenbilt <qjb at debian.org>
More information about the Build-common-hackers