Hi,
this also needs a different fix I think.
The handbook info files should already be built.
makeinfo should be optional. If not, the fix may have to look
different.
What is the problem here?
BR
On Fri, 2025-10-10 at 02:13 +0100, Daniel Golle wrote:
> Introduce meson option exclude-handbook to not build and install the
> GNUnet handbook.
> ---
> doc/meson.build | 4 +++-
> meson.options | 1 +
> 2 files changed, 4 insertions(+), 1 deletion(-)
>
> diff --git a/doc/meson.build b/doc/meson.build
> index 3b02eb6e3..65ca17f4e 100644
> --- a/doc/meson.build
> +++ b/doc/meson.build
> @@ -1,4 +1,6 @@
> -subdir('handbook')
> +if false == get_option('exclude-handbook')
> + subdir('handbook')
> +endif
> if false == get_option('exclude-manpages')
> subdir('man')
> endif
> diff --git a/meson.options b/meson.options
> index a48f936ac..af41279be 100644
> --- a/meson.options
> +++ b/meson.options
> @@ -2,6 +2,7 @@
> option('monolith', type : 'boolean', value : false, description:
> 'Build a single, monolithic libgnunet shlib')
> option('testbed', type : 'boolean', value : false, description:
> 'Build the testbed')
> option('exclude-manpages', type : 'boolean', value : false,
> description: 'Do not install manpages')
> +option('exclude-handbook', type : 'boolean', value : false,
> description: 'Do not install handbook')
> option('experimental', type : 'boolean', value : false, description:
> 'Build experimental components')
> option('malicious', type : 'boolean', value : false, description:
> 'Enable malicious code paths')
> option('benchmarks', type : 'boolean', value : false, description:
> 'Enable benchmarking')