From f9ef6491562402b9c3ca467ac247985c58e8e4f4 Mon Sep 17 00:00:00 2001 Message-Id: From: Mark Wooding Date: Fri, 8 May 2020 14:45:42 +0100 Subject: [PATCH] dot/profile, dot/mdw-build.conf: Set `DEB_BUILD_OPTIONS' automatically. Organization: Straylight/Edgeware From: Mark Wooding There's a new `.mdw.conf' setting for the parallelism level. --- dot/mdw-build.conf | 3 ++- dot/profile | 4 ++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/dot/mdw-build.conf b/dot/mdw-build.conf index f0698ce..6baf691 100644 --- a/dot/mdw-build.conf +++ b/dot/mdw-build.conf @@ -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 diff --git a/dot/profile b/dot/profile index 9617a8f..c9d2078 100644 --- a/dot/profile +++ b/dot/profile @@ -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 -- [mdw]