build: Tell gi-docgen where to find the GIR files

Now that all files are located under top_srcdir/introspection, we need
to ensure that gi-docgen can find them.
This commit is contained in:
Emmanuele Bassi
2023-12-27 16:00:06 +00:00
parent 686ab492cf
commit 0db7395ef9
5 changed files with 1 additions and 7 deletions

View File

@@ -12,6 +12,7 @@ if get_option('documentation') and enable_gir
'--quiet',
'--no-namespace-dir',
'--fatal-warnings',
'--add-include-path=@0@'.format(meson.current_build_dir() / '../../introspection'),
]
docs_dir = glib_datadir / 'doc' / 'glib-2.0'