mirror of
https://github.com/systemd/systemd-stable.git
synced 2024-10-26 17:25:34 +03:00
meson: output TAGS file in source not build directory
The TAGS file was generated in build/ following what autotools did. Nevertheless, it's more convenient to put in the source dir. (It doesn't get deleted by mistake, and it's easier to find for the editor.)
This commit is contained in:
parent
9e13621db5
commit
341b892ba2
@ -2325,11 +2325,10 @@ if git.found() and etags.found()
|
||||
':/*.[ch]'])
|
||||
all_files = files(all_files.stdout().split())
|
||||
|
||||
custom_target(
|
||||
run_target(
|
||||
'TAGS',
|
||||
output : 'TAGS',
|
||||
input : all_files,
|
||||
command : [etags, '-o', '@OUTPUT@'] + all_files)
|
||||
command : [etags, '-o', '@0@/TAGS'.format(meson.source_root())] + all_files)
|
||||
endif
|
||||
|
||||
if git.found()
|
||||
|
Loading…
Reference in New Issue
Block a user