summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmmanuele Bassi <ebassi@gnome.org>2021-08-17 17:47:13 +0100
committerEmmanuele Bassi <ebassi@gnome.org>2021-08-17 17:47:13 +0100
commitb34a05c8e1d88d8e146ee81be8f16d8f163bc9cc (patch)
treeb11cc342ec95387a1e63ea9bcf6650743a022759
parent02960c35c41beda47f3d590202b7bcc9f53cb2bf (diff)
downloadjson-glib-b34a05c8e1d88d8e146ee81be8f16d8f163bc9cc.tar.gz
build: Generate docs if we have introspection data
Our documentation is gated on having both the gtk_doc configuration feature and the introspection configuration feature enabled at the same time.
-rw-r--r--doc/meson.build2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/meson.build b/doc/meson.build
index c4ebf4a..30e2039 100644
--- a/doc/meson.build
+++ b/doc/meson.build
@@ -1,4 +1,4 @@
-if get_option('gtk_doc').enabled()
+if get_option('gtk_doc').enabled() and get_option('introspection').enabled()
dependency('gi-docgen', version: '>= 2021.6',
fallback: ['gi-docgen', 'dummy_dep'],
)