meson: Add toplevel "gst-doc" alias target

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3442>
This commit is contained in:
Xavier Claessens 2022-11-21 11:21:27 -05:00 committed by GStreamer Marge Bot
parent 1ca0323bcf
commit ef73db4210

View file

@ -256,7 +256,11 @@ configure_file(
)
if documented_projects != ''
subproject('gst-docs', required: get_option('doc').enabled())
gst_doc = subproject('gst-docs', required: get_option('doc').enabled())
if gst_doc.found()
gst_doc_target = gst_doc.get_variable('gstreamer_doc')
alias_target('gst-doc', gst_doc_target)
endif
message('Gst docs subprojects: ' + documented_projects)
endif