[glib: 1/2] gtk-doc: Ensure we have recent enough version
- From: Philip Withnall <pwithnall src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib: 1/2] gtk-doc: Ensure we have recent enough version
- Date: Tue, 3 Dec 2019 12:47:00 +0000 (UTC)
commit 160143ae275f4e2869baebaee8eebab3ed427d7f
Author: Xavier Claessens <xavier claessens collabora com>
Date: Fri Nov 29 14:29:23 2019 -0500
gtk-doc: Ensure we have recent enough version
Older versions won't produce errors, but will silently miss
documentation for a few symbols.
docs/reference/meson.build | 6 ++++++
1 file changed, 6 insertions(+)
---
diff --git a/docs/reference/meson.build b/docs/reference/meson.build
index 18999a3f3..4e2553a0f 100644
--- a/docs/reference/meson.build
+++ b/docs/reference/meson.build
@@ -29,6 +29,12 @@ gtkdoc_common_scan_args = [
'--ignore-decorators=' + '|'.join(ignore_decorators),
]
+if get_option('gtk_doc')
+ # Check we have the minimum gtk-doc version required. Older versions won't
+ # generate correct documentation.
+ dependency('gtk-doc', version : '>=1.32')
+endif
+
subdir('gio')
subdir('glib')
subdir('gobject')
\ No newline at end of file
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]