[PATCH 6/8] meson: allow not building and installing handbook
Daniel Golle <[email protected]> Fri, 10 Oct 2025 02:13:47 +0100
| Newsgroups | gmane.network.gnunet.devel |
|---|---|
| Message-ID | <[email protected]> |
--iVsOuSh0wujAOO+X
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
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 =3D=3D get_option('exclude-handbook')
+ subdir('handbook')
+endif
if false =3D=3D 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: 'Buil=
d experimental components')
option('malicious', type : 'boolean', value : false, description: 'Enable =
malicious code paths')
option('benchmarks', type : 'boolean', value : false, description: 'Enable=
benchmarking')
--=20
2.51.0
--iVsOuSh0wujAOO+X
Content-Type: application/pgp-signature; name=signature.asc
-----BEGIN PGP SIGNATURE-----
iHUEABEIAB0WIQQ8WXOkSQLJP/KOu5qX7zeyq+FyywUCaOhdywAKCRCX7zeyq+Fy
y8l1AP9XPIgQj03MxEL4rIwXv9dM0NX5F5O8YN/m+XqT8cwFtgD+LH+n2AvCmK1Q
o3EuTrHsdbIDm3VqWalYdW2SurCQ0Ug=
=zO6f
-----END PGP SIGNATURE-----
--iVsOuSh0wujAOO+X--