Replaced autoconf with meson build files

Resolves: #699

Signed-off-by: Nikos Mavrogiannopoulos <n.mavrogiannopoulos@gmail.com>
This commit is contained in:
Nikos Mavrogiannopoulos
2026-03-15 20:03:39 +01:00
parent e0aebc0a3c
commit 18401eb298
39 changed files with 9871 additions and 3571 deletions

17
doc/meson.build Normal file
View 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