summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz@archlinux.org>2018-12-10 07:15:18 +0100
committerAllan McRae <allan@archlinux.org>2018-12-12 01:12:41 +0100
commitd73fed4e134a1912df7bbc6a50c2287023ea1c4a (patch)
treea1b0887e129cb9ba3ce575cf7bb7479443ddad39
parentb67ec905205d96ca6801626a65149724f47f36f0 (diff)
downloadpacman-d73fed4e134a1912df7bbc6a50c2287023ea1c4a.tar.gz
pacman-d73fed4e134a1912df7bbc6a50c2287023ea1c4a.tar.xz
meson: remove useless mkdir -p
directories are created by install_dir within the subdir custom_target installation targets. Signed-off-by: Eli Schwartz <eschwartz@archlinux.org> Signed-off-by: Allan McRae <allan@archlinux.org>
-rw-r--r--scripts/libmakepkg/meson.build7
1 files changed, 0 insertions, 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