summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz@archlinux.org>2018-12-10 01:15:18 -0500
committerAllan McRae <allan@archlinux.org>2018-12-12 10:12:41 +1000
commitd73fed4e134a1912df7bbc6a50c2287023ea1c4a (patch)
treea1b0887e129cb9ba3ce575cf7bb7479443ddad39 /scripts
parentb67ec905205d96ca6801626a65149724f47f36f0 (diff)
downloadpacman-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>
Diffstat (limited to 'scripts')
-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