diff options
Diffstat (limited to 'Build')
-rwxr-xr-x | Build/source/Build | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Build/source/Build b/Build/source/Build index c9c42ac71ab..606ddfbcaa8 100755 --- a/Build/source/Build +++ b/Build/source/Build @@ -25,10 +25,13 @@ if test -z "$TL_INSTALL_DEST"; then TL_INSTALL_DEST=$H/inst fi +# allow override of make program. +: ${TL_MAKE=make} + if test "x$1" = x--no-clean; then shift else - test -f Makefile && make clean + test -f Makefile && $TL_MAKE clean rm -rf $TL_WORKDIR $TL_INSTALL_DEST fi @@ -57,9 +60,6 @@ cd $TL_WORKDIR || exit 1 # allow override of make target. : ${TL_TARGET=world} -# allow override of make program. -: ${TL_MAKE=make} - # and then also set GNUMAKE to that, for the sake of freetype2/configure. : ${GNUMAKE=${TL_MAKE}} export GNUMAKE |