summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2011-01-08 11:39:32 +1100
committerAndrew Tridgell <tridge@samba.org>2011-01-08 02:35:22 +0100
commit005c6370cdaab69d4228ecbf5e7369ebc61b86ae (patch)
tree5793a0cea736a98e47ef864e60fdcce2a40097d9 /lib
parent52aac4dd54e5b965505049828b3505c7109a6c8e (diff)
downloadsamba-005c6370cdaab69d4228ecbf5e7369ebc61b86ae.tar.gz
samba-005c6370cdaab69d4228ecbf5e7369ebc61b86ae.tar.bz2
samba-005c6370cdaab69d4228ecbf5e7369ebc61b86ae.zip
waf: ensure "make dist" works from a clean git tree for all libraries
this uses a temporary waf lock file to force the build directory Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Sat Jan 8 02:35:22 CET 2011 on sn-devel-104
Diffstat (limited to 'lib')
-rw-r--r--lib/replace/Makefile6
-rw-r--r--lib/talloc/Makefile6
-rw-r--r--lib/tdb/Makefile6
-rw-r--r--lib/tevent/Makefile6
4 files changed, 16 insertions, 8 deletions
diff --git a/lib/replace/Makefile b/lib/replace/Makefile
index 5b8220c6cb..364990153e 100644
--- a/lib/replace/Makefile
+++ b/lib/replace/Makefile
@@ -21,10 +21,12 @@ quicktest:
$(WAF) test --quick $(TEST_OPTIONS)
dist:
- $(WAF) dist
+ touch .tmplock
+ WAFLOCK=.tmplock $(WAF) dist
distcheck:
- $(WAF) distcheck
+ touch .tmplock
+ WAFLOCK=.tmplock $(WAF) distcheck
clean:
$(WAF) clean
diff --git a/lib/talloc/Makefile b/lib/talloc/Makefile
index 95564ebc6d..4c28653446 100644
--- a/lib/talloc/Makefile
+++ b/lib/talloc/Makefile
@@ -21,10 +21,12 @@ quicktest:
$(WAF) test --quick $(TEST_OPTIONS)
dist:
- $(WAF) dist
+ touch .tmplock
+ WAFLOCK=.tmplock $(WAF) dist
distcheck:
- $(WAF) distcheck
+ touch .tmplock
+ WAFLOCK=.tmplock $(WAF) distcheck
clean:
$(WAF) clean
diff --git a/lib/tdb/Makefile b/lib/tdb/Makefile
index 95564ebc6d..4c28653446 100644
--- a/lib/tdb/Makefile
+++ b/lib/tdb/Makefile
@@ -21,10 +21,12 @@ quicktest:
$(WAF) test --quick $(TEST_OPTIONS)
dist:
- $(WAF) dist
+ touch .tmplock
+ WAFLOCK=.tmplock $(WAF) dist
distcheck:
- $(WAF) distcheck
+ touch .tmplock
+ WAFLOCK=.tmplock $(WAF) distcheck
clean:
$(WAF) clean
diff --git a/lib/tevent/Makefile b/lib/tevent/Makefile
index f178363dbc..5acfcbce58 100644
--- a/lib/tevent/Makefile
+++ b/lib/tevent/Makefile
@@ -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