diff options
author | Kai Blin <kai@samba.org> | 2011-09-28 12:07:27 -0700 |
---|---|---|
committer | Kai Blin <kai@samba.org> | 2011-10-02 12:00:07 +0200 |
commit | d5dcb9eef1aaf78ae24bca90235acc263bc04a26 (patch) | |
tree | 7f03beb4dadae9017e5f7e56406d1c1d73440e6e /wscript | |
parent | 5c890ad17ff84bd6ed1dfb26df3cac439fcf37c3 (diff) | |
download | samba-d5dcb9eef1aaf78ae24bca90235acc263bc04a26.tar.gz |
wscript: Also generate ctags for python files
Diffstat (limited to 'wscript')
-rwxr-xr-x | wscript | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) |