Skip to content
This repository has been archived by the owner on Feb 21, 2024. It is now read-only.

Commit

Permalink
ctdb-build: Allow configure and Makefile to find waf in tarball
Browse files Browse the repository at this point in the history
Signed-off-by: Martin Schwenke <[email protected]>
Reviewed-by: Amitay Isaacs <[email protected]>
  • Loading branch information
martin-schwenke authored and Amitay Isaacs committed Sep 9, 2014
1 parent 751ad4b commit ef72188
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ctdb/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# simple makefile wrapper to run waf

WAF=WAF_MAKE=1 PATH=../buildtools/bin:$$PATH waf
WAF=WAF_MAKE=1 PATH=buildtools/bin:../buildtools/bin:$$PATH waf

all:
$(WAF) build
Expand Down
3 changes: 2 additions & 1 deletion ctdb/configure
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@

PREVPATH=`dirname $0`

WAF=../buildtools/bin/waf
WAF=buildtools/bin/waf
[ -x "$WAF" ] || WAF=../buildtools/bin/waf

# using JOBS=1 gives maximum compatibility with
# systems like AIX which have broken threading in python
Expand Down

0 comments on commit ef72188

Please sign in to comment.