mirror of
https://git.proxmox.com/git/fwupd
synced 2025-05-17 22:24:21 +00:00

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.
24 lines
605 B
Meson
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
|