Re: autoconfigurable package: how to build two configurations?
Am Sonntag, den 23.09.2007, 18:50 -0500 schrieb Steve M. Robbins:
> Hello,
>
> Are there any examples of a package that builds two binary packages,
> each from a distinct run of "configure"?
http://svn.debian.org/wsvn/debichem/unstable/xmakemol/debian/rules?op=file&rev=0&sc=0
> My specific case is soqt, which provides a Qt interface to Coin
> (OpenInventor). There is a sentiment [1] that I provide packages for
> Qt3 as well as packages for Qt4. I believe that I need to run
> the autoconf-generated configure script twice and build each
> configuration in its own build directory.
Create two directories. Then move into them and run
cd firstdir && ../configure --srcdir=.. [more options for firstdir]
cd seconddir && ../configure --srcdir=.. [more options for seconddir]
To run make then simply run for each directory:
$(MAKE) -C firstdir
$(MAKE) -C seconddir
ditto for 'install' and 'distclean' targets.
> I'd like to see a package that does this already.
> Preferably, one that uses cdbs.
No idea, if CBDS is able to do this.
HTH and regards, Daniel
Reply to: