From 005c6370cdaab69d4228ecbf5e7369ebc61b86ae Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Sat, 8 Jan 2011 11:39:32 +1100 Subject: 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 --- lib/replace/Makefile | 6 ++++-- lib/talloc/Makefile | 6 ++++-- lib/tdb/Makefile | 6 ++++-- lib/tevent/Makefile | 6 ++++-- 4 files changed, 16 insertions(+), 8 deletions(-) (limited to 'lib') 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 -- cgit