toolbox/doc/meson.build
2019-03-01 10:27:09 +01:00

26 lines
413 B
Meson

go_md2man_command = [
go_md2man,
'-in', '@INPUT@',
'-out', '@OUTPUT@',
]
manuals = [
'toolbox.1',
'toolbox-create.1',
'toolbox-enter.1',
'toolbox-list.1',
]
foreach manual: manuals
input = manual + '.md'
output = manual
custom_target(
output,
command: go_md2man_command,
input: input,
install: true,
install_dir: get_option('mandir'),
output: output,
)
endforeach