From acb171804e7d58b3113be84bacd33f6844b4ab90 Mon Sep 17 00:00:00 2001 From: Scott Anderson Date: Mon, 23 Dec 2019 01:59:46 +1300 Subject: [PATCH] meson: Remove tag generation This is insanely fruststating. Since it works off of currently committed git files, if you ever remove anything, your build will fail until you commit it. It doesn't even belong in the build system anyway, as it's only part of an individual's specific workflow. Use for own scripts for your own workflow. Go use some git hooks to generate this or something. --- meson.build | 33 --------------------------------- 1 file changed, 33 deletions(-) diff --git a/meson.build b/meson.build index 87af465e..af996a51 100644 --- a/meson.build +++ b/meson.build @@ -194,36 +194,3 @@ pkgconfig.generate(lib_wlr, name: meson.project_name(), description: 'Wayland compositor library', ) - -git = find_program('git', required: false) -if git.found() - all_files = run_command( - git, - '--git-dir=@0@/.git'.format(meson.current_source_dir()), - 'ls-files', - ':/*.[ch]', - ) - all_files = files(all_files.stdout().split()) - - etags = find_program('etags', required: false) - if etags.found() and all_files.length() > 0 - custom_target( - 'etags', - build_by_default: true, - input: all_files, - output: 'TAGS', - command: [etags, '-o', '@OUTPUT@', '@INPUT@'], - ) - endif - - ctags = find_program('ctags', required: false) - if ctags.found() and all_files.length() > 0 - custom_target( - 'ctags', - build_by_default: true, - input: all_files, - output: 'tags', - command: [ctags, '-f', '@OUTPUT@', '@INPUT@'], - ) - endif -endif