From 27c2801ebab9370fecd784cd46bd35ac3df1fdab Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sun, 26 Nov 2006 01:41:02 +0000 Subject: allow override of build commands and args git-svn-id: svn://tug.org/texlive/trunk@2533 c570f23f-e606-0410-a88d-b1316a301751 --- Build/source/Build | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/Build/source/Build b/Build/source/Build index d6ffa1abd74..7e29a7f38d6 100755 --- a/Build/source/Build +++ b/Build/source/Build @@ -27,12 +27,18 @@ rm -f tlbuild.log # allow override of configure location, just in case. : ${TL_CONFIGURE=../configure} +# allow override of xdvi toolkit. +: ${TL_XDVI_TOOLKIT=--with-xdvi-x-toolkit=xaw} + +# allow override of make program. +: ${TL_MAKE=make} + # Force building xdvi-xaw; motif is not always free and/or available. # --enable-gif is for sam2p; the gif patent has expired worldwide. (set -x; \ time $TL_CONFIGURE \ --prefix=$TL_INSTALL_DEST \ --datadir=$TL_INSTALL_DEST \ - --with-xdvi-x-toolkit=xaw --enable-gif \ + $TL_XDVI_TOOLKIT \ "$@" \ - && time make world) 2>&1 | tee tlbuild.log + && time $TL_MAKE world) 2>&1 | tee tlbuild.log -- cgit v1.2.3