Module: tools Branch: master Commit: 53aa16671d8ed4a7a6c96d1cf884eb404a5d8a17 URL: http://source.winehq.org/git/tools.git/?a=commit;h=53aa16671d8ed4a7a6c96d1cf...
Author: Mikolaj Zalewski mikolajz@tygrys.dom Date: Sat Feb 21 17:27:41 2009 +0100
If needed, run configure in wrc tree
---
scripts/Master.sh | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/scripts/Master.sh b/scripts/Master.sh index c936830..ee7a27c 100755 --- a/scripts/Master.sh +++ b/scripts/Master.sh @@ -26,6 +26,9 @@ if [ "$PREPARE_TREES" -eq 1 ]; then if [ "x$NOVERBOSE" = "x" ]; then echo -n "Preparing tree(s)..." fi + if [ ! -f "$WRCROOT/Makefile" ]; then + $WRCROOT/configure + fi make -C "$WRCROOT" depend >/dev/null 2>>"$WORKDIR/run.log" || die "make depend in wrc tree failed" make -C "$WRCROOT" tools >/dev/null 2>>"$WORKDIR/run.log" || die "make tools in wrc tree failed" make -C "$SOURCEROOT" depend >/dev/null 2>>"$WORKDIR/run.log" || die "make depend in source tree failed"