2018-07-07 10:29:48 -04:00
|
|
|
libmakepkg_module = 'util'
|
|
|
|
|
|
|
|
sources = [
|
|
|
|
'compress.sh.in',
|
2019-05-22 10:44:26 -04:00
|
|
|
'config.sh.in',
|
2019-10-30 14:24:47 +10:00
|
|
|
'dirsize.sh.in',
|
2018-07-07 10:29:48 -04:00
|
|
|
'error.sh.in',
|
2024-11-29 18:34:01 +02:00
|
|
|
'lock.sh.in',
|
2018-07-07 10:29:48 -04:00
|
|
|
'message.sh.in',
|
|
|
|
'option.sh.in',
|
|
|
|
'parseopts.sh.in',
|
|
|
|
'pkgbuild.sh.in',
|
2019-01-30 18:07:20 +00:00
|
|
|
'schema.sh.in',
|
2018-07-07 10:29:48 -04:00
|
|
|
'source.sh.in',
|
|
|
|
'util.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
|