meson: use install_emptydir() and drop meson-make-symlink.sh

The script is mostly equivalent to 'mkdir -p' and 'ln -sfr'.
Let's replace it with install_emptydir() builtin function and
inline meson call.
This commit is contained in:
Yu Watanabe
2023-08-08 10:38:47 +09:00
committed by Luca Boccassi
parent 653c90ec0e
commit 9289e093ae
25 changed files with 81 additions and 164 deletions

View File

@@ -54,6 +54,5 @@ foreach pair : in_files
endforeach
if enable_tmpfiles and install_sysconfdir
meson.add_install_script(
'sh', '-c', mkdir_p.format(sysconfdir / 'tmpfiles.d'))
install_emptydir(sysconfdir / 'tmpfiles.d')
endif