summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docs/reference/meson.build8
1 files changed, 8 insertions, 0 deletions
diff --git a/docs/reference/meson.build b/docs/reference/meson.build
index bbdc0054..6aec3a0a 100644
--- a/docs/reference/meson.build
+++ b/docs/reference/meson.build
@@ -52,6 +52,9 @@ scan_args = [
'--ignore-decorators="SOUP_DEPRECATED\w*\s*\([^)]*\)|SOUP_DEPRECATED\w*|SOUP_AVAILABLE\w*"'
]
+glib_prefix = glib_dep.get_pkgconfig_variable('prefix')
+glib_docpath = glib_prefix / 'share' / 'gtk-doc' / 'html'
+
gnome.gtkdoc('libsoup-3.0',
main_xml : 'libsoup-3.0-docs.xml',
src_dir : srcdir,
@@ -59,6 +62,11 @@ gnome.gtkdoc('libsoup-3.0',
namespace : 'soup',
mkdb_args : mkdb_args,
scan_args : scan_args,
+ fixxref_args : [
+ '--extra-dir=@0@'.format(glib_docpath / 'glib'),
+ '--extra-dir=@0@'.format(glib_docpath /'gobject'),
+ '--extra-dir=@0@'.format(glib_docpath /'gio'),
+ ],
dependencies : libsoup_private_dep,
install : true,
content_files: [