summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorChristoph Reiter <reiter.christoph@gmail.com>2019-09-28 17:29:35 +0200
committerChristoph Reiter <reiter.christoph@gmail.com>2019-09-30 17:22:37 +0200
commitefbd35d290d35e37994d441c9f2e4c0dffcd9cec (patch)
tree24f6f060cc812fb1eed1495a8220c157fadfa19d /tools
parent1cb3b2b27f824f3bbdab1a2e3fedf45a39689019 (diff)
downloadgobject-introspection-efbd35d290d35e37994d441c9f2e4c0dffcd9cec.tar.gz
meson: change "doctool" from a boolean to a feature option
Similar to !180 this should prevent devs from not running all tests by accident. This also adds some checks for the required doctool dependencies, mako and markdown.
Diffstat (limited to 'tools')
-rw-r--r--tools/meson.build2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/meson.build b/tools/meson.build
index 1fedaa53..418cf3ad 100644
--- a/tools/meson.build
+++ b/tools/meson.build
@@ -38,8 +38,10 @@ foreach tool : tools
endforeach
girscanner = tool_output[0]
+has_girdoctool = false
if with_doctool
girdoctool = tool_output[-1]
+ has_girdoctool = true
endif
custom_c_args = []