diff options
author | Amitay Isaacs <amitay@gmail.com> | 2014-06-23 12:55:19 +1000 |
---|---|---|
committer | Martin Schwenke <martins@samba.org> | 2014-06-24 07:23:13 +0200 |
commit | 8cd48c6b1cbdc7b2d151985a044e0bff12269a1a (patch) | |
tree | 03985edf0ae89c18a5f1e1cb613a0314e1bc3011 /ctdb/wscript | |
parent | 113c5799d4df69a95f37f23a374d9f313f57b5ec (diff) | |
download | samba-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/wscript')
-rwxr-xr-x | ctdb/wscript | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ctdb/wscript b/ctdb/wscript index f69bf580f71..afd40d3399e 100755 --- a/ctdb/wscript +++ b/ctdb/wscript @@ -523,8 +523,10 @@ def autotest(ctx): cmd = 'LD_PRELOAD=bin/shared/libsocket-wrapper.so tests/run_tests.sh -e -S -C' samba_utils.RUN_COMMAND(cmd) -def dist(): +def show_version(ctx): + print VERSION +def dist(): samba_dist.DIST_FILES('VERSION:VERSION', extend=True) t = 'include/ctdb_version.h' |