Build combined library 'libsenf.a' and restructure debian packages
[senf.git] / debian / rules
index 15682ff..4491055 100755 (executable)
@@ -9,11 +9,13 @@
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
 
-
-
+debian_build=1
+export debian_build
 
 CFLAGS = -Wall -g
 
+CONCURRENCY_LEVEL ?= 1
+
 ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
        CFLAGS += -O0
 else
@@ -42,7 +44,7 @@ build: build-stamp
 build-stamp: configure-stamp 
        dh_testdir
 #      # Add here commands to compile the package.
-       scons all final=1
+       scons -j $(CONCURRENCY_LEVEL) all final=1
        touch $@
 
 clean: