From 9289e093ae6fd5484f9119e1ee07d1dffe37cd10 Mon Sep 17 00:00:00 2001 From: Yu Watanabe Date: Tue, 8 Aug 2023 10:38:47 +0900 Subject: 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. --- sysctl.d/meson.build | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'sysctl.d') diff --git a/sysctl.d/meson.build b/sysctl.d/meson.build index ecec903d1b..909baa2be3 100644 --- a/sysctl.d/meson.build +++ b/sysctl.d/meson.build @@ -21,6 +21,5 @@ custom_target( install_dir : sysctldir) if install_sysconfdir - meson.add_install_script('sh', '-c', - mkdir_p.format(sysconfdir / 'sysctl.d')) + install_emptydir(sysconfdir / 'sysctl.d') endif -- cgit v1.2.3