summaryrefslogtreecommitdiff
path: root/source4/wscript
diff options
context:
space:
mode:
Diffstat (limited to 'source4/wscript')
-rw-r--r--source4/wscript4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/wscript b/source4/wscript
index ac4971ca6a..fad9c3451f 100644
--- a/source4/wscript
+++ b/source4/wscript
@@ -134,7 +134,7 @@ def etags(ctx):
'''build TAGS file using etags'''
import Utils
source_root = os.path.dirname(Utils.g_module.root_path)
- cmd = 'etags $(find %s/.. -name "*.[ch]")' % source_root
+ cmd = 'etags $(find %s/.. -name "*.[ch]" | egrep -v \.inst\.)' % source_root
print("Running: %s" % cmd)
os.system(cmd)
@@ -142,7 +142,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")' % source_root
+ cmd = 'ctags $(find %s/.. -name "*.[ch]" | grep -v "*_proto\.h" | egrep -v \.inst\.)' % source_root
print("Running: %s" % cmd)
os.system(cmd)