[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Separate Build dirs



> I know there was a thread some time ago that dealt with this situation
> and the suggestion was to use two separate build dirs to compile
> independent trees, but how precisely do I do that, what's the cleanest
> way to do it in debian/rules?

build: build-one build-two
build-one: config-one
	cd build-tree/one && ${MAKE}
config-one:
	install -d build-tree/one
	cd build-tree/one && ../../configure --prefix=/usr ...

Do config-two and build-two the same way, and clean appropriately.

(Assuming you're using automake/autoconf-based system, or compatible)


-- 
To UNSUBSCRIBE, email to debian-mentors-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: