1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00

wscript: Also generate ctags for python files

This commit is contained in:
Kai Blin 2011-09-28 12:07:27 -07:00
parent 5c890ad17f
commit d5dcb9eef1

View File

@ -146,7 +146,7 @@ def ctags(ctx):
"build 'tags' file using ctags" "build 'tags' file using ctags"
import Utils import Utils
source_root = os.path.dirname(Utils.g_module.root_path) 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) print("Running: %s" % cmd)
os.system(cmd) os.system(cmd)