From d73fed4e134a1912df7bbc6a50c2287023ea1c4a Mon Sep 17 00:00:00 2001 From: Eli Schwartz Date: Mon, 10 Dec 2018 01:15:18 -0500 Subject: meson: remove useless mkdir -p directories are created by install_dir within the subdir custom_target installation targets. Signed-off-by: Eli Schwartz Signed-off-by: Allan McRae --- scripts/libmakepkg/meson.build | 7 ------- 1 file changed, 7 deletions(-) diff --git a/scripts/libmakepkg/meson.build b/scripts/libmakepkg/meson.build index bfba56a5..b0697f78 100644 --- a/scripts/libmakepkg/meson.build +++ b/scripts/libmakepkg/meson.build @@ -11,8 +11,6 @@ libmakepkg_modules = [ { 'name' : 'util', 'has_subdir' : true }, ] -mkdir_p = 'mkdir -p $DESTDIR/@0@' - foreach module : libmakepkg_modules custom_target( 'libmakepkg_@0@'.format(module['name']), @@ -24,10 +22,5 @@ foreach module : libmakepkg_modules if module.get('has_subdir', false) subdir(module['name']) - path = join_paths(get_option('prefix'), - get_option('datadir'), - 'makepkg', - module['name']) - meson.add_install_script('sh', '-c', mkdir_p.format(path)) endif endforeach -- cgit v1.2.3-70-g09d2