From d5dcb9eef1aaf78ae24bca90235acc263bc04a26 Mon Sep 17 00:00:00 2001 From: Kai Blin Date: Wed, 28 Sep 2011 12:07:27 -0700 Subject: wscript: Also generate ctags for python files --- wscript | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'wscript') diff --git a/wscript b/wscript index 8454146ba5..1b50baf241 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) -- cgit