summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2021-04-24 14:17:30 +0000
committermidipix <writeonce@midipix.org>2021-04-24 14:18:28 +0000
commit4a1e3c5ca4383cc645bcd23336bfb2c16cef2dda (patch)
tree1018e0613c0f92408725690a6e1163b0cfdb2791
parenta77cfd97ae5289204ef780dad9f1dbea2eb91947 (diff)
downloadperk-4a1e3c5ca4383cc645bcd23336bfb2c16cef2dda.tar.bz2
perk-4a1e3c5ca4383cc645bcd23336bfb2c16cef2dda.tar.xz
build system: configure: respect project-specific make{mode} preferences.
-rwxr-xr-xconfigure9
1 files changed, 9 insertions, 0 deletions
diff --git a/configure b/configure
index a100d6d..8ec7015 100755
--- a/configure
+++ b/configure
@@ -169,6 +169,15 @@ init_vars()
. "$mb_config"
+ # config.project make preferences
+ if [ -z "${MAKE}" ]; then
+ MAKE="$mb_make"
+ fi
+
+ if [ -z "${MAKEMODE}" ]; then
+ MAKEMODE="$mb_makemode"
+ fi
+
# package
if [ -z "$mb_package" ]; then
error_msg "$mb_script: incomplete information in $mb_config."