git.samba.org
/
abartlet
/
samba.git
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b14d86f
)
s3-waf: Add ctags command
author
Kai Blin
<kai@samba.org>
Sun, 11 Apr 2010 20:43:23 +0000
(22:43 +0200)
committer
Kai Blin
<kai@samba.org>
Thu, 20 May 2010 20:16:13 +0000
(22:16 +0200)
source3/wscript
patch
|
blob
|
history
diff --git
a/source3/wscript
b/source3/wscript
index 369eb495e26573815641850216bdcb59c87f6889..df6be3e6196adf361c1da99cb8321b8435676cca 100644
(file)
--- 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)