summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-11-05 09:01:47 +1100
committerAndrew Tridgell <tridge@samba.org>2010-11-04 22:51:06 +0000
commit4f8b59edbcb976a8ad40e9c1214d3b1d8abe99c9 (patch)
treec295ed193b04e6681fe435731a210afa714562f8 /source4
parenta9714246a30107597210077d3c6d7188018fde32 (diff)
downloadsamba-4f8b59edbcb976a8ad40e9c1214d3b1d8abe99c9.tar.gz
samba-4f8b59edbcb976a8ad40e9c1214d3b1d8abe99c9.tar.bz2
samba-4f8b59edbcb976a8ad40e9c1214d3b1d8abe99c9.zip
s4: don't run etags over .inst files
Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Thu Nov 4 22:51:06 UTC 2010 on sn-devel-104
Diffstat (limited to 'source4')
-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)