meson: Add doc directory to XDG_DATA_DIRS

gst-env.py does it already, but it was missing from meson devenv.

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

View file

@ -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',