2018-07-07 10:29:48 -04:00
|
|
|
libmakepkg_module = 'lint_config'
|
|
|
|
|
|
|
|
sources = [
|
2025-08-02 15:32:11 +10:00
|
|
|
'buildenv.sh.in',
|
2019-05-22 10:39:43 -04:00
|
|
|
'ext.sh.in',
|
2025-01-01 22:15:33 +10:00
|
|
|
'nproc.sh.in',
|
2025-01-01 22:20:03 +10:00
|
|
|
'packager.sh.in',
|
2018-07-07 10:29:48 -04:00
|
|
|
'paths.sh.in',
|
2019-01-10 00:58:41 -05:00
|
|
|
'source_date_epoch.sh.in',
|
2018-07-07 10:29:48 -04:00
|
|
|
'variable.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
|