Re: build 2 similar binary packages from one source tree
- Date: Sat, 30 Dec 2017 12:17:05 +0100
- From: Wouter Verhelst <wouter@xxxxxxxxxx>
- Subject: Re: build 2 similar binary packages from one source tree
On Sun, Dec 24, 2017 at 08:16:19PM +0100, Adam Borowski wrote:
> While autotools in principle do support out-of-tree builds, a particular
> program might still fail.
In practice, this is rare, unless the developer doesn't try to run "make
distcheck" before a build (like they really really should).
The way to do this is:
mkdir build-1 build-2
make install DESTDIR=../debian/tmp-1
make install DESTDIR=../debian/tmp-2
(obviously separated out into the different debian/rules targets, but done as
above for clarity)
> And, most non-autotools non-cmake build systems don't support that at all.
Could you people please use IRC like normal people?!?
-- Amaya Rodrigo Sastre, trying to quiet down the buzz in the DebConf 2008