summaryrefslogtreecommitdiff
path: root/buildtools/wafsamba/wscript
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2010-05-28 20:24:47 +1000
committerAndrew Bartlett <abartlet@samba.org>2010-05-28 21:59:08 +1000
commit7ea7b23413f48325d1805fd2666757241eddc2e7 (patch)
tree1f21cd36402c0552e16e3e1690a58d2367f4be42 /buildtools/wafsamba/wscript
parent708d6fc5b002fb781983dd6ca4bda6e59a3a6411 (diff)
downloadsamba-7ea7b23413f48325d1805fd2666757241eddc2e7.tar.gz
samba-7ea7b23413f48325d1805fd2666757241eddc2e7.tar.bz2
samba-7ea7b23413f48325d1805fd2666757241eddc2e7.zip
waf Provide release signing capability in 'waf dist'
This helps ensure the release is signed correctly - the .tar file, not the .tar.gz must be signed, and it's easy to forget this. Andrew Bartlett
Diffstat (limited to 'buildtools/wafsamba/wscript')
-rw-r--r--buildtools/wafsamba/wscript8
1 files changed, 8 insertions, 0 deletions
diff --git a/buildtools/wafsamba/wscript b/buildtools/wafsamba/wscript
index 7bb2baa038..bad65cac24 100644
--- a/buildtools/wafsamba/wscript
+++ b/buildtools/wafsamba/wscript
@@ -130,6 +130,14 @@ def set_options(opt):
help=SUPPRESS_HELP,
action='store_true', dest='AUTOCONF_DISABLE_DEPENDENCY_TRACKING', default=False)
+ gr = opt.option_group('dist options')
+ gr.add_option('--sign-release',
+ help='sign the release tarball created by waf dist',
+ action='store_true', dest='SIGN_RELEASE')
+ gr.add_option('--tag',
+ help='tag release in git at the same time',
+ type='string', action='store', dest='TAG_RELEASE')
+
@wafsamba.runonce
def configure(conf):