From edae28e9b58cb4cf9bb147c55d1839856c51315d Mon Sep 17 00:00:00 2001 From: "Igor V. Kovalenko" Date: Wed, 19 May 2021 00:52:56 +0300 Subject: [PATCH] build-sys: meson: make doxygen optional Part-of: --- meson.build | 4 +++- meson_options.txt | 3 +++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/meson.build b/meson.build index 790778988..255c73a58 100644 --- a/meson.build +++ b/meson.build @@ -781,7 +781,9 @@ check_dep = dependency('check', version : '>= 0.9.10', required : get_option('te # Subdirs -subdir('doxygen') +if get_option('doxygen') + subdir('doxygen') +endif subdir('po') if get_option('man') subdir('man') diff --git a/meson_options.txt b/meson_options.txt index 6be586452..cdb3c6787 100644 --- a/meson_options.txt +++ b/meson_options.txt @@ -1,6 +1,9 @@ option('daemon', type : 'boolean', value : true, description : 'Enable building and installation of pulseaudio daemon and supporting configuration files') +option('doxygen', + type : 'boolean', value : true, + description : 'Enable building and installation of documentation generated with doxygen') option('gcov', type : 'boolean', value : false, description : 'Enable optional gcov coverage analysis')