Stop checking for gmake in build scripts

Since a non-cygwin gmake trips up the github cygwin action, let's just
require that the user put a good "make" early on their path (a simple
`ln -s `which gmake` ~/bin/make` with the right $PATH works fine).
This commit is contained in:
Wayne Davison
2021-02-04 20:46:00 -08:00
parent ec3833c96e
commit ef36b097bf
2 changed files with 3 additions and 6 deletions

View File

@@ -4,8 +4,6 @@ set -e
export LANG=C
make=`which gmake 2>/dev/null` || make=make
branch=`packaging/prep-auto-dir`
if test x"$branch" = x; then
srcdir=.
@@ -40,8 +38,8 @@ fi
./config.status
$make all
make all
if test x"$1" = x"check"; then
$make check
make check
fi

View File

@@ -43,8 +43,7 @@ fi
for action in "${@}"; do
case "$action" in
build|make)
make=`which gmake 2>/dev/null` || make=make
$make -f "$dir/prepare-source.mak"
make -f "$dir/prepare-source.mak"
;;
fetch|fetchgen)
if test "$action" = fetchgen; then