mirror of
https://github.com/systemd/systemd.git
synced 2025-03-22 06:50:18 +03:00
meson: use env object instead of string in tags targets
I used 'tags' before because this way we avoided a unnecessary line about 'env' detection. But we cannot use 'env' in test(), so previous commit added 'env' detection. We might just as well use it in custom_target().
This commit is contained in:
parent
b68dfb9e83
commit
25a8210234
@ -2644,11 +2644,11 @@ if git.found()
|
||||
custom_target(
|
||||
'tags',
|
||||
output : 'tags',
|
||||
command : ['env', 'etags', '-o', '@0@/TAGS'.format(meson.current_source_dir())] + all_files)
|
||||
command : [env, 'etags', '-o', '@0@/TAGS'.format(meson.current_source_dir())] + all_files)
|
||||
custom_target(
|
||||
'ctags',
|
||||
output : 'ctags',
|
||||
command : ['env', 'ctags', '-o', '@0@/tags'.format(meson.current_source_dir())] + all_files)
|
||||
command : [env, 'ctags', '-o', '@0@/tags'.format(meson.current_source_dir())] + all_files)
|
||||
endif
|
||||
|
||||
if git.found()
|
||||
|
Loading…
x
Reference in New Issue
Block a user