talloc: use the system pytalloc-util for python3 as well
[sfrench/samba-autobuild/.git] / lib / tevent / Makefile
index 3f188a955fdc2ee6a146218765c7ebbb8117411b..5acfcbce58e893ea4bbccb56dda739a891be485d 100644 (file)
@@ -1,8 +1,6 @@
 # simple makefile wrapper to run waf
 
-WAFPATH:=$(shell PATH=../../buildtools/bin:buildtools/bin:$(PATH) which waf)
-
-WAF=WAF_MAKE=1 $(WAFPATH)
+WAF=WAF_MAKE=1 PATH=buildtools/bin:../../buildtools/bin:$$PATH waf
 
 all:
        $(WAF) build
@@ -17,10 +15,12 @@ test:
        $(WAF) test $(TEST_OPTIONS)
 
 dist:
-       $(WAF) dist
+       touch .tmplock
+       WAFLOCK=.tmplock $(WAF) dist
 
 distcheck:
-       $(WAF) distcheck
+       touch .tmplock
+       WAFLOCK=.tmplock $(WAF) distcheck
 
 clean:
        $(WAF) clean