1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00

ldb/tevent: Fix detection of waf paths.

This commit is contained in:
Jelmer Vernooij 2010-09-28 09:00:26 +02:00
parent 4752d88fed
commit 63928c82c1
4 changed files with 22 additions and 4 deletions

View File

@ -1,6 +1,8 @@
# simple makefile wrapper to run waf
WAF=WAF_MAKE=1 ../../buildtools/bin/waf
WAFPATH:=$(shell PATH=../../buildtools/bin:buildtools/bin:$(PATH) which waf)
WAF=WAF_MAKE=1 $(WAFPATH)
all:
$(WAF) build

View File

@ -2,7 +2,14 @@
PREVPATH=`dirname $0`
WAF=../../buildtools/bin/waf
if [ -f $PREVPATH/../../buildtools/bin/waf ]; then
WAF=../../buildtools/bin/waf
elif [ -f $PREVPATH/buildtools/bin/waf ]; then
WAF=./buildtools/bin/waf
else
echo "tevent: Unable to find waf"
exit 1
fi
# using JOBS=1 gives maximum compatibility with
# systems like AIX which have broken threading in python

View File

@ -1,6 +1,8 @@
# simple makefile wrapper to run waf
WAF=WAF_MAKE=1 ../../../buildtools/bin/waf
WAFPATH:=$(shell PATH=../../buildtools/bin:buildtools/bin:$(PATH) which waf)
WAF=WAF_MAKE=1 $(WAFPATH)
all:
$(WAF) build

View File

@ -2,7 +2,14 @@
PREVPATH=`dirname $0`
WAF=../../../buildtools/bin/waf
if [ -f $PREVPATH/../../../buildtools/bin/waf ]; then
WAF=../../../buildtools/bin/waf
elif [ -f $PREVPATH/buildtools/bin/waf ]; then
WAF=./buildtools/bin/waf
else
echo "ldb: Unable to find waf"
exit 1
fi
# using JOBS=1 gives maximum compatibility with
# systems like AIX which have broken threading in python