Bug #2166 ยป 0058-Meson-Install-man-pages-directly-from-configure_file.patch
| meson.build | ||
|---|---|---|
|
man_conf_data.set('DATASUBDIR', '"' + datasubdir + '"')
|
||
|
configure_file(input : 'doc/man/' + manp + '.6.in',
|
||
|
output : manp + '.6',
|
||
|
configuration : man_conf_data)
|
||
|
configuration : man_conf_data,
|
||
|
install_dir: join_paths(get_option('mandir'), 'man6'))
|
||
|
endforeach
|
||
|
foreach manp : man_links
|
||
|
install_data(
|
||
|
join_paths('doc/man/', manp + '.6'),
|
||
|
install_dir : join_paths(get_option('mandir'), 'man6')
|
||
|
)
|
||
|
endforeach
|
||
|
add_global_arguments('-DHAVE_CONFIG_H',
|
||
| ... | ... | |
|
install_dir : join_paths(get_option('datadir'), 'icons/hicolor', iconsize, 'apps'))
|
||
|
endforeach
|
||
|
foreach manp : man_pages
|
||
|
install_data(
|
||
|
join_paths(b_root, manp + '.6'),
|
||
|
install_dir : join_paths(get_option('mandir'), 'man6')
|
||
|
)
|
||
|
endforeach
|
||
|
foreach manp : man_links
|
||
|
install_data(
|
||
|
join_paths('doc/man/', manp + '.6'),
|
||
|
install_dir : join_paths(get_option('mandir'), 'man6')
|
||
|
)
|
||
|
endforeach
|
||
|
gtk322_dep = dependency('gtk+-3.0', version : '>= 3.22', required : false)
|
||
|
gtk4_dep = dependency('gtk4', version : '>= 4.0.0', required : false)
|
||
|
gtk5_dep = dependency('gtk4', version : '>= 4.14.0', required : false)
|
||