build: Fix the inclusion paths for GIR files in gi-docgen

The GIR files are now built by GLib itself, so they will be in the build
directories of each sub-library, except for GLib-2.0 which is built
alongside GObject-2.0.
This commit is contained in:
Emmanuele Bassi
2023-11-02 11:14:56 +00:00
parent 1969608db5
commit 3dbef3223b
4 changed files with 7 additions and 4 deletions

View File

@@ -178,6 +178,7 @@ custom_target('glib-docs',
'--config=@INPUT0@',
'--output-dir=@OUTPUT@',
'--content-dir=@0@'.format(meson.current_source_dir()),
'--add-include-path=@0@'.format(meson.current_build_dir() / '../../../gobject'),
'@INPUT1@',
],
build_by_default: true,