waf: ensure "make dist" works from a clean git tree for all libraries
[sfrench/samba-autobuild/.git] / lib / tevent / Makefile
index f178363dbc6697af76c217dfdd1f6596fd6c927c..5acfcbce58e893ea4bbccb56dda739a891be485d 100644 (file)
@@ -15,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