From: Zbigniew Jędrzejewski-Szmek Date: Tue, 30 May 2017 23:56:12 +0000 (-0400) Subject: meson: output TAGS file in source not build directory X-Git-Tag: v234~152^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=341b892ba28a4e0954022a3ea5e05eff28316968;p=thirdparty%2Fsystemd.git 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.) --- diff --git a/meson.build b/meson.build index 0f90da1ee91..f932d06a532 100644 --- a/meson.build +++ b/meson.build @@ -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()