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.
This commit is contained in:
Scott Anderson 2019-12-23 01:59:46 +13:00 committed by Drew DeVault
parent cff1c2f740
commit acb171804e
1 changed files with 0 additions and 33 deletions

View File

@ -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