Re: parallel builds using DEB_BUILD_OPTIONS

2008-10-15 Thread Stefano Zacchiroli
On Wed, Oct 15, 2008 at 07:17:41AM -0500, Steve M. Robbins wrote: > It strikes me, therefore, that the policy manual should be updated, > removing MAKEFLAGS and instead showing an explicit "make -J$(NUMJOBS) ...". Or better "$(MAKE) -j$(NUMJOBS)". > However, my problem is with cdbs: how can I sup

parallel builds using DEB_BUILD_OPTIONS

2008-10-15 Thread Steve M. Robbins
Hi, The Policy Manual [1] gives the following recipe for supporting parallel make: ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS))) NUMJOBS = $(patsubst parallel=%,%,$(filter parallel=%,$(DEB_BUILD_OPTIONS))) MAKEFLAGS += -j$(NUMJOBS) endif Unfortunately, for packages that use recursive m