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.)
':/*.[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()