From: Andrew Tridgell Date: Sat, 8 Jan 2011 00:39:32 +0000 (+1100) Subject: waf: ensure "make dist" works from a clean git tree for all libraries X-Git-Url: http://git.samba.org/?p=samba.git;a=commitdiff_plain;h=005c6370cdaab69d4228ecbf5e7369ebc61b86ae 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 Autobuild-Date: Sat Jan 8 02:35:22 CET 2011 on sn-devel-104 --- diff --git a/lib/replace/Makefile b/lib/replace/Makefile index 5b8220c6cb7..364990153e5 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 95564ebc6de..4c28653446d 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 95564ebc6de..4c28653446d 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 f178363dbc6..5acfcbce58e 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 diff --git a/source4/lib/ldb/Makefile b/source4/lib/ldb/Makefile index da05bcfb6dc..a07b4a71641 100644 --- a/source4/lib/ldb/Makefile +++ b/source4/lib/ldb/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