diff options
author | Wayne Davison <wayne@opencoder.net> | 2021-01-31 11:10:38 -0800 |
---|---|---|
committer | Wayne Davison <wayne@opencoder.net> | 2021-01-31 11:10:38 -0800 |
commit | 83f7372369f5c884e9abf02f85879288876b28b0 (patch) | |
tree | 86890dac531e07b447150e5171751c6994a58176 | |
parent | 8c3de35b0b6c0e362ce7d33fd983dc828051ca12 (diff) | |
download | rsync-83f7372369f5c884e9abf02f85879288876b28b0.tar.gz |
A couple "make" tweaks.
-rwxr-xr-x | packaging/smart-make | 2 | ||||
-rwxr-xr-x | prepare-source | 3 |
2 files changed, 3 insertions, 2 deletions
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 |