projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ede1348
)
build: Check that introspection is enabled for docs build
author
Benjamin Otte
<otte@redhat.com>
Sun, 29 Aug 2021 00:47:34 +0000
(
02:47
+0200)
committer
Matthias Clasen
<mclasen@redhat.com>
Thu, 2 Sep 2021 23:59:41 +0000
(19:59 -0400)
docs/reference/meson.build
patch
|
blob
|
history
diff --git
a/docs/reference/meson.build
b/docs/reference/meson.build
index f69f568f2e90fce6123a7895dc1f22edc4687c36..4ca44b67e8a9f35331501331e3014e6f6decf341 100644
(file)
--- 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')