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.
This commit is contained in:
Zbigniew Jędrzejewski-Szmek
2021-05-17 12:42:34 +02:00
committed by Yu Watanabe
parent 392ed18542
commit 17a2017f69

View File

@@ -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@'],