From: Mark Wooding Date: Fri, 8 May 2020 13:45:42 +0000 (+0100) Subject: dot/profile, dot/mdw-build.conf: Set `DEB_BUILD_OPTIONS' automatically. X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/profile/commitdiff_plain/f9ef6491562402b9c3ca467ac247985c58e8e4f4 dot/profile, dot/mdw-build.conf: Set `DEB_BUILD_OPTIONS' automatically. There's a new `.mdw.conf' setting for the parallelism level. --- 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