summaryrefslogtreecommitdiff
path: root/wscript
diff options
context:
space:
mode:
authorKai Blin <kai@samba.org>2011-09-28 12:07:27 -0700
committerKai Blin <kai@samba.org>2011-10-02 12:00:07 +0200
commitd5dcb9eef1aaf78ae24bca90235acc263bc04a26 (patch)
tree7f03beb4dadae9017e5f7e56406d1c1d73440e6e /wscript
parent5c890ad17ff84bd6ed1dfb26df3cac439fcf37c3 (diff)
downloadsamba-d5dcb9eef1aaf78ae24bca90235acc263bc04a26.tar.gz
wscript: Also generate ctags for python files
Diffstat (limited to 'wscript')
-rwxr-xr-xwscript2
1 files changed, 1 insertions, 1 deletions
diff --git a/wscript b/wscript
index 8454146ba53..1b50baf241c 100755
--- a/wscript
+++ b/wscript
@@ -146,7 +146,7 @@ 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" | egrep -v \.inst\.)' % source_root
+ cmd = 'ctags --python-kinds=-i $(find %s -name "*.[ch]" | grep -v "*_proto\.h" | egrep -v \.inst\.) $(find %s -name "*.py")' % (source_root, source_root)
print("Running: %s" % cmd)
os.system(cmd)