aboutsummaryrefslogtreecommitdiff
path: root/meson.options
diff options
context:
space:
mode:
authoreldritch horrors <pennae@lix.systems>2024-03-30 16:28:59 +0100
committereldritch horrors <pennae@lix.systems>2024-04-01 20:15:28 +0000
commited2bb919e79715918a88646c15a6642e7dcd3a98 (patch)
treea1da2b63fc8e99b653210fdc404282260b7841fd /meson.options
parentefbf5c81bb9c58487fd08f236251627fbb27f780 (diff)
meson: add switch to disable docs
the make build system can do this too. Change-Id: I8c07d159cab54a8749c50dc33615f60bd251a86d
Diffstat (limited to 'meson.options')
-rw-r--r--meson.options4
1 files changed, 4 insertions, 0 deletions
diff --git a/meson.options b/meson.options
index 022727858..393d61c49 100644
--- a/meson.options
+++ b/meson.options
@@ -46,3 +46,7 @@ option('state-dir', type : 'string', value : '/nix/var',
option('log-dir', type : 'string', value : '/nix/var/log',
description : 'path to store logs in for Nix',
)
+
+option('enable-docs', type : 'boolean', value : true,
+ description : 'whether to build documentation',
+)