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>
This commit is contained in:
parent
b67ec90520
commit
d73fed4e13
1 changed files with 0 additions and 7 deletions
|
@ -11,8 +11,6 @@ libmakepkg_modules = [
|
||||||
{ 'name' : 'util', 'has_subdir' : true },
|
{ 'name' : 'util', 'has_subdir' : true },
|
||||||
]
|
]
|
||||||
|
|
||||||
mkdir_p = 'mkdir -p $DESTDIR/@0@'
|
|
||||||
|
|
||||||
foreach module : libmakepkg_modules
|
foreach module : libmakepkg_modules
|
||||||
custom_target(
|
custom_target(
|
||||||
'libmakepkg_@0@'.format(module['name']),
|
'libmakepkg_@0@'.format(module['name']),
|
||||||
|
@ -24,10 +22,5 @@ foreach module : libmakepkg_modules
|
||||||
|
|
||||||
if module.get('has_subdir', false)
|
if module.get('has_subdir', false)
|
||||||
subdir(module['name'])
|
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
|
endif
|
||||||
endforeach
|
endforeach
|
||||||
|
|
Loading…
Add table
Reference in a new issue