dot/profile, dot/mdw-build.conf: Set `DEB_BUILD_OPTIONS' automatically.
authorMark Wooding <mdw@distorted.org.uk>
Fri, 8 May 2020 13:45:42 +0000 (14:45 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Fri, 8 May 2020 13:46:59 +0000 (14:46 +0100)
There's a new `.mdw.conf' setting for the parallelism level.

dot/mdw-build.conf
dot/profile

index f0698ce..6baf691 100644 (file)
@@ -17,4 +17,5 @@ set_from_mdw_conf dputtarget dput-target
 set_from_mdw_conf sbuildsrv sbuild-server
 set_from_mdw_conf signkey releasekey
 
-: ${DEB_BUILD_OPTIONS=parallel=$(mdw-conf make-parallel 4)}
+: ${DEB_BUILD_OPTIONS="parallel=$(mdw-conf make-parallel 4)"}
+export DEB_BUILD_OPTIONS
index 9617a8f..c9d2078 100644 (file)
@@ -282,6 +282,10 @@ CARGO_HOME=$HOME/.cache/cargo; export CARGO_HOME
 ## Configure `ps'.
 PS_PERSONALITY=gnu; export PS_PERSONALITY
 
+## Configure Debian building.
+DEB_BUILD_OPTIONS=parallel="parallel=$(mdw-conf make-parallel 4)"
+export DEB_BUILD_OPTIONS
+
 ## Turn off angry fruit salad error messages from things.
 DPKG_COLORS=never; export DPKG_COLORS
 GCC_COLORS=; export GCC_COLORS