Source: ufraw
Version: 0.20-3.1
Severity: wishlist
Tags: patch

Hi,

ufraw seems to build fine with multiple build jobs when building.
Thus, my suggestion is to enable the parallel build (reading the number
of jobs from DEB_BUILD_OPTIONS, and adding it to the make invocation)
to speed up the build when requested (see also Policy ยง4.9.1).

Thanks,
-- 
Pino
--- a/debian/rules
+++ b/debian/rules
@@ -17,6 +17,10 @@ else
 	CFLAGS += -O3 -ffast-math -fomit-frame-pointer
 endif
 
+ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
+	NJOBS := -j $(patsubst parallel=%,%,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
+endif
+
 clean:
 	dh_testdir
 	dh_testroot
@@ -66,7 +70,7 @@ build: build-stamp
 build-stamp: config
 	dh_testdir
 
-	$(MAKE)
+	$(MAKE) $(NJOBS)
 
 	touch build-stamp
 

Reply via email to