]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
dnsdist: Add an option to meson to disable man page generation
authorRemi Gacogne <remi.gacogne@powerdns.com>
Tue, 11 Feb 2025 10:49:08 +0000 (11:49 +0100)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Tue, 11 Feb 2025 10:49:08 +0000 (11:49 +0100)
pdns/dnsdistdist/meson.build
pdns/dnsdistdist/meson_options.txt

index 1ef40465be5cad88ecad1734cb79ae6f91aab36d..695b78e0f47aac32b029c30a375d76b64c5823c4 100644 (file)
@@ -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
index e860bdf833be5cf14852fdd87c10d23c433b432c..80361de207f900ba38144507707f6aaadf4dda7c 100644 (file)
@@ -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')