s3-waf: remove duplicate ctags definition
authorGünther Deschner <gd@samba.org>
Mon, 23 Jan 2017 15:45:53 +0000 (16:45 +0100)
committerGünther Deschner <gd@samba.org>
Tue, 14 Feb 2017 16:38:34 +0000 (17:38 +0100)
Guenther

Signed-off-by: Guenther Deschner <gd@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
Autobuild-User(master): Günther Deschner <gd@samba.org>
Autobuild-Date(master): Tue Feb 14 17:38:34 CET 2017 on sn-devel-144

source3/wscript

index b886e1b69e44c1c8bd18d9f9e8d06f1bd4a2a86c..07338e90271e3750089ce0cf72d1a4ad61befdee 100644 (file)
@@ -1869,12 +1869,3 @@ main() {
         Logs.info("%s: %s" % (shared_env, ','.join(conf.env[shared_env])))
 
     conf.SAMBA_CONFIG_H('include/config.h')
-
-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
-    print("Running: %s" % cmd)
-    os.system(cmd)
-