[gedit/zbrown/deteplification-src: 239/633] build: docs: improve/fix fixxref
- From: Zander Brown <zbrown src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gedit/zbrown/deteplification-src: 239/633] build: docs: improve/fix fixxref
- Date: Sat, 10 Apr 2021 12:47:59 +0000 (UTC)
commit 432840cdd6aa4c59b59d3fa7a0abd3ba78dd3afb
Author: Sébastien Wilmet <swilmet gnome org>
Date: Sun Mar 29 20:20:19 2020 +0200
build: docs: improve/fix fixxref
Have a code similar to the Tepl build system, so that I can copy/paste
stuff.
docs/reference/meson.build | 26 +++++++++++++++++---------
1 file changed, 17 insertions(+), 9 deletions(-)
---
diff --git a/docs/reference/meson.build b/docs/reference/meson.build
index f73915691..8ca07d125 100644
--- a/docs/reference/meson.build
+++ b/docs/reference/meson.build
@@ -1,11 +1,10 @@
-glib_prefix = dependency('glib-2.0').get_pkgconfig_variable('prefix')
-glib_docpath = join_paths(glib_prefix, 'share', 'gtk-doc', 'html', 'glib')
-
-gobject_prefix = dependency('gobject-2.0').get_pkgconfig_variable('prefix')
-gobject_docpath = join_paths(gobject_prefix, 'share', 'gtk-doc', 'html', 'gobject')
-
-gtk_prefix = gtk_dep.get_pkgconfig_variable('prefix')
-gtk_docpath = join_paths(gobject_prefix, 'share', 'gtk-doc', 'html', 'gtk')
+glib_docpath = dependency('glib-2.0').get_pkgconfig_variable('prefix') / 'share/gtk-doc/html/glib'
+gobject_docpath = dependency('gobject-2.0').get_pkgconfig_variable('prefix') / 'share/gtk-doc/html/gobject'
+gio_docpath = dependency('gio-2.0').get_pkgconfig_variable('prefix') / 'share/gtk-doc/html/gio'
+gdk_docpath = dependency('gdk-3.0').get_pkgconfig_variable('prefix') / 'share/gtk-doc/html/gdk3'
+gtk_docpath = dependency('gtk+-3.0').get_pkgconfig_variable('prefix') / 'share/gtk-doc/html/gtk3'
+gsv_docpath = dependency('gtksourceview-4').get_pkgconfig_variable('prefix') /
'share/gtk-doc/html/gtksourceview-4.0'
+libpeas_docpath = dependency('libpeas-1.0').get_pkgconfig_variable('prefix') / 'share/gtk-doc/html/libpeas'
gedit_doc_deps = [
gio_dep,
@@ -93,7 +92,16 @@ gnome.gtkdoc(
dependencies: gedit_doc_dep,
scan_args: libgedit_reference_scan_args,
mkdb_args: libgedit_reference_mkdb_args,
- fixxref_args: libgedit_reference_fixxref_args,
+ fixxref_args: [
+ '--html-dir=@0@'.format(join_paths(gtkdocdir, 'html', package_string)),
+ '--extra-dir=@0@'.format(glib_docpath),
+ '--extra-dir=@0@'.format(gobject_docpath),
+ '--extra-dir=@0@'.format(gio_docpath),
+ '--extra-dir=@0@'.format(gdk_docpath),
+ '--extra-dir=@0@'.format(gtk_docpath),
+ '--extra-dir=@0@'.format(gsv_docpath),
+ '--extra-dir=@0@'.format(libpeas_docpath),
+ ],
content_files : [
'api-breaks.xml'
],
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]