diff options
Diffstat (limited to 'source3')
-rw-r--r-- | source3/wscript | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/source3/wscript b/source3/wscript index 369eb495e2..df6be3e619 100644 --- a/source3/wscript +++ b/source3/wscript @@ -391,3 +391,10 @@ krb5_get_credentials_for_user krb5_get_host_realm krb5_free_host_realm''', conf.SAMBA_CONFIG_H('include/config.h') +def ctags(ctx): + "build 'tags' file using ctags" + import Utils + source_root = os.path.dirname(Utils.g_module.root_path) + cmd = 'ctags $(find %s/.. -name "*.[ch]" | grep -v "*_proto\.h")' % source_root + print("Running: %s" % cmd) + os.system(cmd) |