mirror of
https://gitlab.com/openconnect/ocserv.git
synced 2026-03-29 16:27:53 +08:00
Replaced autoconf with meson build files
Resolves: #699 Signed-off-by: Nikos Mavrogiannopoulos <n.mavrogiannopoulos@gmail.com>
This commit is contained in:
17
doc/meson.build
Normal file
17
doc/meson.build
Normal file
@@ -0,0 +1,17 @@
|
||||
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
|
||||
Reference in New Issue
Block a user