mirror of
https://gitlab.com/openconnect/ocserv.git
synced 2026-03-27 15:27:53 +08:00
18 lines
467 B
Meson
18 lines
467 B
Meson
ronn = find_program('ronn', required: false)
|
|
|
|
foreach page : ['ocserv.8', 'occtl.8', 'ocpasswd.8']
|
|
if ronn.found()
|
|
custom_target(page,
|
|
input: page + '.md',
|
|
output: page,
|
|
command: [ronn, '--roff', '@INPUT@', '-o', '@OUTDIR@'],
|
|
install: true,
|
|
install_dir: get_option('mandir') / 'man8',
|
|
)
|
|
elif fs.exists(page)
|
|
install_data(page,
|
|
install_dir: get_option('mandir') / 'man8',
|
|
)
|
|
endif
|
|
endforeach
|