mirror of
https://github.com/samba-team/samba.git
synced 2024-12-22 13:34:15 +03:00
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>
This commit is contained in:
parent
113c5799d4
commit
8cd48c6b1c
@ -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
|
||||
|
@ -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'
|
||||
|
Loading…
Reference in New Issue
Block a user