summaryrefslogtreecommitdiff
path: root/ctdb/Makefile
diff options
context:
space:
mode:
authorAmitay Isaacs <amitay@gmail.com>2014-06-23 12:55:19 +1000
committerMartin Schwenke <martins@samba.org>2014-06-24 07:23:13 +0200
commit8cd48c6b1cbdc7b2d151985a044e0bff12269a1a (patch)
tree03985edf0ae89c18a5f1e1cb613a0314e1bc3011 /ctdb/Makefile
parent113c5799d4df69a95f37f23a374d9f313f57b5ec (diff)
downloadsamba-8cd48c6b1cbdc7b2d151985a044e0bff12269a1a.tar.gz
ctdb-build: Add special target to get build version
This avoids the need to build a tarball to get version information. Signed-off-by: Amitay Isaacs <amitay@gmail.com> Reviewed-by: Martin Schwenke <martin@meltin.net>
Diffstat (limited to 'ctdb/Makefile')
-rw-r--r--ctdb/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/ctdb/Makefile b/ctdb/Makefile
index 9ffce81eb32..4d2f059916a 100644
--- a/ctdb/Makefile
+++ b/ctdb/Makefile
@@ -23,6 +23,10 @@ autotest:
quicktest:
$(WAF) test --quick $(TEST_OPTIONS)
+show_version:
+ @touch .tmplock
+ @WAFLOCK=.tmplock $(WAF) show_version
+
dist:
touch .tmplock
WAFLOCK=.tmplock $(WAF) dist