
Signed-off-by: Ivy Foster <escondida@iff.ink> Signed-off-by: Allan McRae <allan@archlinux.org>
23 lines
485 B
Meson
23 lines
485 B
Meson
libmakepkg_module = 'source'
|
|
|
|
sources = [
|
|
'bzr.sh.in',
|
|
'file.sh.in',
|
|
'fossil.sh.in',
|
|
'git.sh.in',
|
|
'hg.sh.in',
|
|
'local.sh.in',
|
|
'svn.sh.in',
|
|
]
|
|
|
|
foreach src : sources
|
|
output_dir = join_paths(get_option('datadir'), 'makepkg', libmakepkg_module)
|
|
|
|
custom_target(
|
|
libmakepkg_module + '_' + src.underscorify(),
|
|
command : [ SCRIPT_EDITOR, '@INPUT@', '@OUTPUT@' ],
|
|
input : src,
|
|
output : '@BASENAME@',
|
|
install : true,
|
|
install_dir : output_dir)
|
|
endforeach
|