diff options
author | Amitay Isaacs <amitay@gmail.com> | 2014-07-08 14:04:29 +1000 |
---|---|---|
committer | Amitay Isaacs <amitay@samba.org> | 2014-07-08 10:17:54 +0200 |
commit | 916303792321e7309b3061a21161ce692656bb69 (patch) | |
tree | b18247d971005f15b19018217ed62dcefe420793 | |
parent | 34b4857231df9656eee1ad5e6aa639330403d2de (diff) | |
download | samba-916303792321e7309b3061a21161ce692656bb69.tar.gz samba-916303792321e7309b3061a21161ce692656bb69.tar.xz samba-916303792321e7309b3061a21161ce692656bb69.zip |
ctdb-build: Create ctdb only ctags
CTDB does not use auto-generated files, there is no need to configure
to generate ctags.
Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Martin Schwenke <martin@meltin.net>
-rw-r--r-- | ctdb/Makefile | 3 | ||||
-rwxr-xr-x | ctdb/wscript | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/ctdb/Makefile b/ctdb/Makefile index 4d2f059916..6d57b0ca4f 100644 --- a/ctdb/Makefile +++ b/ctdb/Makefile @@ -67,7 +67,8 @@ etags: $(WAF) etags ctags: - $(WAF) ctags + touch .tmplock + WAFLOCK=.tmplock $(WAF) ctags pydoctor: $(WAF) pydoctor diff --git a/ctdb/wscript b/ctdb/wscript index 20a33e8abe..a85caed759 100755 --- a/ctdb/wscript +++ b/ctdb/wscript @@ -608,7 +608,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]")' % source_root print("Running: %s" % cmd) ret = samba_utils.RUN_COMMAND(cmd) if ret != 0: |