From cc44634422bf0633f5e57a6b15534ce639427440 Mon Sep 17 00:00:00 2001 From: Mathieu Duponchelle Date: Thu, 3 Dec 2020 17:13:15 +0100 Subject: [PATCH] docs: don't exit the subdir when optional deps aren't found Part-of: --- docs/meson.build | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/docs/meson.build b/docs/meson.build index 3a91edbd7d..929baa6557 100644 --- a/docs/meson.build +++ b/docs/meson.build @@ -14,7 +14,6 @@ if gst_dep.type_name() == 'internal' gst_proj = subproject('gstreamer') plugins_cache_generator = gst_proj.get_variable('plugins_cache_generator') else - required_hotdoc_extensions += ['gst-extension'] plugins_cache_generator = find_program(join_paths(gst_dep.get_pkgconfig_variable('libexecdir'), 'gstreamer-' + api_version, 'gst-plugins-doc-cache-generator'), required: false) endif @@ -59,7 +58,6 @@ foreach extension: required_hotdoc_extensions endif message('@0@ extensions not found, not building documentation requiring it'.format(extension)) - subdir_done() endif endforeach @@ -68,7 +66,7 @@ if not build_gir error('Documentation enabled but introspection not built.') endif - message('Introspection not built, can\'t build the documentation') + message('Introspection not built, won\'t build documentation requiring it') subdir_done() endif