BUG: https://bugzilla.samba.org/show_bug.cgi?id=15497
Signed-off-by: Christof Schmitt <christof.schmitt@us.ibm.com>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
(cherry picked from commit
e2ace2d613701f3d4a7c7c202f68d2f193c0a64a)
touch .tmplock
WAFLOCK=.tmplock $(WAF) distcheck
+printversion:
+ touch .tmplock
+ WAFLOCK=.tmplock $(WAF) printversion
+
clean:
$(WAF) clean
'''test that distribution tarball builds and installs'''
samba_version.load_version(env=None)
+def printversion(ctx):
+ '''print version'''
+ ver = samba_version.load_version(env=None)
+ print('Samba Version: ' + ver.STRING_WITH_NICKNAME)
+
def wildcard_cmd(cmd):
'''called on a unknown command'''
from samba_wildcard import run_named_build_task