meson: ignore 'man-pages' if 'server' is disabled `seatd.1` is the only man page, so it's not necessary to install it or require scdoc when the server is not built.
1 files changed, 5 insertions(+), 1 deletions(-) M meson.build
M meson.build => meson.build +5 -1
@@ 212,7 212,11 @@ test( ) ) scdoc = dependency('scdoc', required: get_option('man-pages'), version: '>= 1.9.7', native: true) if get_option('server').enabled() scdoc = dependency('scdoc', required: get_option('man-pages'), version: '>= 1.9.7', native: true) else scdoc = disabler() endif if scdoc.found() sh = find_program('sh', native: true)