2021-08-22 10:46:50 +00:00
|
|
|
gomd2man = find_program('go-md2man', required: false)
|
|
|
|
if gomd2man.found()
|
2017-05-04 11:45:11 +00:00
|
|
|
run_target('update-manpage',
|
2021-08-22 10:30:14 +00:00
|
|
|
command: [ 'meson_build_manpages.sh', files(
|
2017-07-17 08:06:20 +00:00
|
|
|
'rofi.1.markdown',
|
2017-11-05 14:28:17 +00:00
|
|
|
'rofi-theme-selector.1.markdown',
|
2017-07-17 08:06:20 +00:00
|
|
|
'rofi-theme.5.markdown',
|
2021-12-17 10:13:29 +00:00
|
|
|
'rofi-dmenu.5.markdown',
|
2022-04-11 09:19:34 +00:00
|
|
|
'rofi-debugging.5.markdown',
|
2021-12-15 20:31:44 +00:00
|
|
|
'rofi-keys.5.markdown',
|
2021-08-22 10:30:14 +00:00
|
|
|
'rofi-script.5.markdown',
|
|
|
|
'rofi-sensible-terminal.1.markdown'
|
2017-05-04 11:45:11 +00:00
|
|
|
)]
|
|
|
|
)
|
|
|
|
endif
|
|
|
|
|
|
|
|
doxy_conf = configuration_data()
|
|
|
|
doxy_conf.set('PACKAGE', meson.project_name())
|
|
|
|
doxy_conf.set('VERSION', meson.project_version())
|
|
|
|
doxy_conf.set('abs_builddir', join_paths(meson.build_root(), meson.current_build_dir()))
|
|
|
|
doxy_conf.set('abs_top_srcdir', meson.source_root())
|
|
|
|
|
|
|
|
doxyfile = configure_file(
|
|
|
|
input: 'rofi.doxy.in',
|
|
|
|
output: 'rofi.doxy',
|
|
|
|
configuration: doxy_conf,
|
|
|
|
)
|
|
|
|
|
|
|
|
doxygen = find_program('doxygen', required: false)
|
|
|
|
if doxygen.found()
|
|
|
|
html_target = custom_target('doxy',
|
|
|
|
input: doxyfile,
|
|
|
|
output: 'html',
|
|
|
|
command: [doxygen, doxyfile],
|
|
|
|
install: false,
|
|
|
|
)
|
|
|
|
endif
|