fwupd/docs/man/meson.build
Richard Hughes 57746cb839 Add the Meson build system as an alternate to autotools
Automake and autoconf are impossible to fully understand and Meson now provides
everything we need for a much smaller, faster, and more understandable build.

See http://mesonbuild.com/ for more information.
2017-04-12 16:35:18 +01:00

24 lines
605 B
Meson

docbook2man = find_program('docbook2man', required : false)
if docbook2man.found()
custom_target('fwupdmgr-man',
input : 'fwupdmgr.sgml',
output : 'fwupdmgr.1.gz',
command : [
docbook2man, '@INPUT@',
'--output', '@OUTPUT@',
],
install : true,
install_dir : join_paths(get_option('mandir'), 'man1'),
)
custom_target('dfu-tool-man',
input : 'dfu-tool.sgml',
output : 'dfu-tool.1.gz',
command : [
docbook2man, '@INPUT@',
'--output', '@OUTPUT@',
],
install : true,
install_dir : join_paths(get_option('mandir'), 'man1'),
)
endif