git-svn-id: https://svn.berlios.de/svnroot/repos/senf/trunk@415
270642c3-0616-0410-b53a-bc976706d245
DOXY_HTML_XSL = '#/doclib/html-munge.xsl',
ENV = { 'TODAY' : str(datetime.date.today()),
'REVISION' : rev,
- 'LOGNAME' : os.environ['LOGNAME'] # needed by the debian build scripts
+ 'LOGNAME' : os.environ['LOGNAME'], # needed by the debian build scripts
+ 'CONCURRENCY_LEVEL' : env.GetOption('num_jobs') or "1"
},
)
CFLAGS = -Wall -g
+CONCURRENCY_LEVEL ?= 1
+
ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
CFLAGS += -O0
else
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: