ctdb-tools: Use wrapper for string to integer conversion
[vlendec/samba-autobuild/.git] / ctdb / Makefile
index 23ee780d06236a312c2df0c165eac71c86adc841..ec362e2940827160b65164b6d01ae2f0d4171139 100644 (file)
@@ -1,6 +1,7 @@
 # simple makefile wrapper to run waf
 
-WAF=WAF_MAKE=1 PATH=buildtools/bin:../buildtools/bin:$$PATH waf
+WAF_BINARY=$(PYTHON) ../buildtools/bin/waf
+WAF=WAF_MAKE=1 $(WAF_BINARY)
 
 all:
        $(WAF) build
@@ -28,7 +29,8 @@ show_version:
        @WAFLOCK=.tmplock $(WAF) show_version
 
 manpages:
-       $(WAF) manpages
+       touch .tmplock
+       WAFLOCK=.tmplock $(WAF) manpages
 
 dist:
        touch .tmplock