diff options
author | Scott Anderson <scott@anderso.nz> | 2019-12-23 01:59:46 +1300 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2019-12-23 07:48:29 -0500 |
commit | acb171804e7d58b3113be84bacd33f6844b4ab90 (patch) | |
tree | 0766ef6e1c6c0de7f1085828f2da1048c77716ac | |
parent | cff1c2f740a2f7d22339a0fae14c4923223a8d61 (diff) |
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.
-rw-r--r-- | meson.build | 33 |
1 files changed, 0 insertions, 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 |