summaryrefslogtreecommitdiffstats
path: root/tmpfiles.d
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2021-05-17 12:42:34 +0200
committerYu Watanabe <watanabe.yu+github@gmail.com>2021-05-19 03:25:26 +0200
commit17a2017f69489023733b2a631e2f122e19c8dbad (patch)
tree862d912cab99190fac5ce7e8bf4e8f08495bb0af /tmpfiles.d
parentci: drop py2 lxml, pull in jinja2 (diff)
downloadsystemd-17a2017f69489023733b2a631e2f122e19c8dbad.tar.xz
systemd-17a2017f69489023733b2a631e2f122e19c8dbad.zip
meson: add workaround for old meson
Recent meson versions include the directory name in the target name, so there is no conflict for files with the same name in different directories. But at least with meson-0.49.2 in buster we have conflict with sysusers.d/systemd.conf.
Diffstat (limited to 'tmpfiles.d')
-rw-r--r--tmpfiles.d/meson.build3
1 files changed, 2 insertions, 1 deletions
diff --git a/tmpfiles.d/meson.build b/tmpfiles.d/meson.build
index d449034dba..a8aaacaf29 100644
--- a/tmpfiles.d/meson.build
+++ b/tmpfiles.d/meson.build
@@ -33,7 +33,8 @@ in_files = ['etc.conf',
foreach file : in_files
custom_target(
- file,
+ # XXX: workaround for old meson. Drop when upgrading.
+ 'tmpfiles+' + file,
input : file + '.in',
output: file,
command : [meson_render_jinja2, config_h, '@INPUT@'],