Add support vor CONCURRENCY_LEVEL and 'scons -j <n>' to debian build
[senf.git] / SConstruct
index da35a8d..391fb03 100644 (file)
@@ -36,7 +36,8 @@ env.Append(
    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"
            },
 )