2019-02-28 17:07:24 +00:00
|
|
|
go_md2man_command = [
|
|
|
|
go_md2man,
|
|
|
|
'-in', '@INPUT@',
|
|
|
|
'-out', '@OUTPUT@',
|
|
|
|
]
|
|
|
|
|
|
|
|
manuals = [
|
|
|
|
'toolbox.1',
|
|
|
|
'toolbox-create.1',
|
|
|
|
'toolbox-enter.1',
|
2019-05-10 18:38:46 +00:00
|
|
|
'toolbox-init-container.1',
|
2019-02-28 17:07:24 +00:00
|
|
|
'toolbox-list.1',
|
2019-02-19 15:59:19 +00:00
|
|
|
'toolbox-rm.1',
|
|
|
|
'toolbox-rmi.1',
|
2019-03-08 06:42:29 +00:00
|
|
|
'toolbox-run.1',
|
2019-02-28 17:07:24 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
foreach manual: manuals
|
|
|
|
input = manual + '.md'
|
|
|
|
output = manual
|
|
|
|
|
|
|
|
custom_target(
|
|
|
|
output,
|
|
|
|
command: go_md2man_command,
|
|
|
|
input: input,
|
|
|
|
install: true,
|
2019-03-06 16:07:35 +00:00
|
|
|
install_dir: join_paths(get_option('mandir'), 'man1'),
|
2019-02-28 17:07:24 +00:00
|
|
|
output: output,
|
|
|
|
)
|
|
|
|
endforeach
|