[gtk/wip/otte/symbolic-paintable: 6/6] 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: 6/6] build: Check that introspection is enabled for docs build
- Date: Sun, 29 Aug 2021 02:29:10 +0000 (UTC)
commit fa2fc4e157652c0600c61cc1c9dab4c7a577d920
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]