From ed2bb919e79715918a88646c15a6642e7dcd3a98 Mon Sep 17 00:00:00 2001 From: eldritch horrors Date: Sat, 30 Mar 2024 16:28:59 +0100 Subject: meson: add switch to disable docs the make build system can do this too. Change-Id: I8c07d159cab54a8749c50dc33615f60bd251a86d --- meson.build | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'meson.build') diff --git a/meson.build b/meson.build index 5bb7d3738..dadb01b9c 100644 --- a/meson.build +++ b/meson.build @@ -71,6 +71,7 @@ foreach optname : path_opts endif endforeach +enable_docs = get_option('enable-docs') enable_tests = get_option('enable-tests') @@ -357,7 +358,10 @@ endif subdir('src') subdir('scripts') subdir('misc') -subdir('doc/manual') + +if enable_docs + subdir('doc/manual') +endif if enable_tests subdir('tests/unit') -- cgit v1.2.3