From: Remi Gacogne Date: Tue, 11 Feb 2025 10:49:08 +0000 (+0100) Subject: dnsdist: Add an option to meson to disable man page generation X-Git-Tag: dnsdist-2.0.0-alpha1~99^2~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6015113a38befb496ca5a4bc3c8961a143637ade;p=thirdparty%2Fpdns.git dnsdist: Add an option to meson to disable man page generation --- diff --git a/pdns/dnsdistdist/meson.build b/pdns/dnsdistdist/meson.build index 1ef40465be..695b78e0f4 100644 --- a/pdns/dnsdistdist/meson.build +++ b/pdns/dnsdistdist/meson.build @@ -562,7 +562,7 @@ summary('Python', python.found(), bool_yn: true, section: 'Manual Pages') summary('Path', python.full_path(), section: 'Manual Pages') summary('Version', python.version(), section: 'Manual Pages') -if python.found() +if get_option('man-pages') and python.found() generated_man_pages = [] foreach tool, info: tools if 'manpages' in info diff --git a/pdns/dnsdistdist/meson_options.txt b/pdns/dnsdistdist/meson_options.txt index e860bdf833..80361de207 100644 --- a/pdns/dnsdistdist/meson_options.txt +++ b/pdns/dnsdistdist/meson_options.txt @@ -37,3 +37,4 @@ option('fuzz-targets', type: 'boolean', value: false, description: 'Enable fuzzi option('ebpf', type: 'feature', value: 'disabled', description: 'Enable eBPF support') option('fuzzer_ldflags', type: 'string', value: '', description: 'Linker flags used for the fuzzing targets (a path to the libFuzzer static library, for example)') option('yaml', type: 'feature', value: 'disabled', description: 'Enable YAML configuration') +option('man-pages', type: 'boolean', value: true, description: 'Generate man pages')