[gtk/wip/otte/symbolic-paintable: 1/5] build: Check that introspection is enabled for docs build
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/otte/symbolic-paintable: 1/5] build: Check that introspection is enabled for docs build
- Date: Sun, 29 Aug 2021 02:29:59 +0000 (UTC)
commit 36dd959bf97f611cdaf22be891f931f7e3c35941
Author: Benjamin Otte <otte redhat com>
Date: Sun Aug 29 02:47:34 2021 +0200
build: Check that introspection is enabled for docs build
docs/reference/meson.build | 4 ++++
1 file changed, 4 insertions(+)
---
diff --git a/docs/reference/meson.build b/docs/reference/meson.build
index f69f568f2e..4ca44b67e8 100644
--- a/docs/reference/meson.build
+++ b/docs/reference/meson.build
@@ -5,6 +5,10 @@ gidocgen = find_program('gi-docgen', required: get_option('gtk_doc'))
docs_dir = gtk_datadir / 'doc'
+if get_option('gtk_doc') and not build_gir
+ error('API reference requires introspection.')
+endif
+
subdir('gdk')
subdir('gsk')
subdir('gtk')
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]