From: Wayne Davison Date: Sun, 31 Jan 2021 19:10:38 +0000 (-0800) Subject: A couple "make" tweaks. X-Git-Tag: v3.2.4pre1~100 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=83f7372369f5c884e9abf02f85879288876b28b0;p=thirdparty%2Frsync.git A couple "make" tweaks. --- diff --git a/packaging/smart-make b/packaging/smart-make index 6f634d64..25aa1a35 100755 --- a/packaging/smart-make +++ b/packaging/smart-make @@ -4,7 +4,7 @@ set -e export LANG=C -make=`which gmake 2>/dev/null` || make=`which make 2>/dev/null` +make=`which gmake 2>/dev/null` || make=make branch=`packaging/prep-auto-dir` if test x"$branch" = x; then diff --git a/prepare-source b/prepare-source index f5b7b46c..dd0cbd6a 100755 --- a/prepare-source +++ b/prepare-source @@ -43,7 +43,8 @@ fi for action in "${@}"; do case "$action" in build|make) - make -f "$dir/prepare-source.mak" + make=`which gmake 2>/dev/null` || make=make + $make -f "$dir/prepare-source.mak" ;; fetch|fetchgen) if test "$action" = fetchgen; then