1cdaf21203
The manuals shouldn't be installed in the top-level directory, but in
one of the sub-directories corresponding to the relevant section.
Fallout from 0a972dfccc
28 lines
470 B
Meson
28 lines
470 B
Meson
go_md2man_command = [
|
|
go_md2man,
|
|
'-in', '@INPUT@',
|
|
'-out', '@OUTPUT@',
|
|
]
|
|
|
|
manuals = [
|
|
'toolbox.1',
|
|
'toolbox-create.1',
|
|
'toolbox-enter.1',
|
|
'toolbox-list.1',
|
|
'toolbox-rm.1',
|
|
'toolbox-rmi.1',
|
|
]
|
|
|
|
foreach manual: manuals
|
|
input = manual + '.md'
|
|
output = manual
|
|
|
|
custom_target(
|
|
output,
|
|
command: go_md2man_command,
|
|
input: input,
|
|
install: true,
|
|
install_dir: join_paths(get_option('mandir'), 'man1'),
|
|
output: output,
|
|
)
|
|
endforeach
|