From 160143ae275f4e2869baebaee8eebab3ed427d7f Mon Sep 17 00:00:00 2001 From: Xavier Claessens Date: Fri, 29 Nov 2019 14:29:23 -0500 Subject: [PATCH] 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