From 1ca0323bcfa59adb4bb53c6c015e2821e128efaf Mon Sep 17 00:00:00 2001 From: Xavier Claessens Date: Mon, 21 Nov 2022 10:20:41 -0500 Subject: [PATCH] meson: Add doc directory to XDG_DATA_DIRS gst-env.py does it already, but it was missing from meson devenv. Part-of: --- subprojects/gst-docs/meson.build | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/subprojects/gst-docs/meson.build b/subprojects/gst-docs/meson.build index e15c5e27da..69666b306e 100644 --- a/subprojects/gst-docs/meson.build +++ b/subprojects/gst-docs/meson.build @@ -127,6 +127,10 @@ gstreamer_doc = hotdoc.generate_doc('GStreamer', fatal_warnings: get_option('fatal_warnings') ) +# For devhelp +meson.add_devenv({'XDG_DATA_DIRS': meson.current_build_dir() / 'GStreamer-doc'}, + method: 'prepend') + cdata = configuration_data() cdata.set('GST_API_VERSION', apiversion) readme = configure_file(input: 'scripts/RELEASE_README.md',