]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - meson.build
Merge pull request #6058 from keszybz/chrooted-test-fixes
[thirdparty/systemd.git] / meson.build
index 0f90da1ee912001c307f92864e7921aefa2d4b41..f932d06a5324dba90321ac4eaf2da17dcfe03a8f 100644 (file)
@@ -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()