[evince] meson: Fix GtkDoc documentation generation
- From: Germán Poo-Caamaño <gpoo src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evince] meson: Fix GtkDoc documentation generation
- Date: Fri, 8 Feb 2019 03:59:25 +0000 (UTC)
commit 60ddb8db31236622277457f311968c75259085eb
Author: Iñigo Martínez <inigomartinez gmail com>
Date: Sat Sep 29 10:23:27 2018 +0200
meson: Fix GtkDoc documentation generation
meosn has recently acquired support for `module_version`[0] that
affects the installed location and the devhelp2 file location.
The lack of support for this feature in meson means that the
installation was not the same in meson and in autotools.
GtkDoc documentation has been changed to also use this feature,
producing an equivalent installation.
meson version has been also bumped to 0.49.
[0] https://github.com/mesonbuild/meson/commit/f0c4d1cd00da1f6e7d0126a156928e242d6c5b8b
help/reference/libdocument/meson.build | 1 +
help/reference/libview/meson.build | 1 +
meson.build | 2 +-
3 files changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/help/reference/libdocument/meson.build b/help/reference/libdocument/meson.build
index bea95ff6..dcae9488 100644
--- a/help/reference/libdocument/meson.build
+++ b/help/reference/libdocument/meson.build
@@ -26,6 +26,7 @@ version = configure_file(
gnome.gtkdoc(
doc_module,
main_xml: doc_module + '-docs.xml',
+ module_version: ev_api_version,
src_dir: libdocument_inc,
dependencies: libevdocument_dep,
ignore_headers: private_headers,
diff --git a/help/reference/libview/meson.build b/help/reference/libview/meson.build
index 7a2d6479..38417af6 100644
--- a/help/reference/libview/meson.build
+++ b/help/reference/libview/meson.build
@@ -32,6 +32,7 @@ version = configure_file(
gnome.gtkdoc(
doc_module,
main_xml: doc_module + '-docs.xml',
+ module_version: ev_api_version,
src_dir: libview_inc,
ignore_headers: private_headers,
include_directories: top_inc,
diff --git a/meson.build b/meson.build
index e5218739..de7e1c13 100644
--- a/meson.build
+++ b/meson.build
@@ -3,7 +3,7 @@ project(
version: '3.31.90',
license: 'GPL2',
default_options: 'buildtype=debugoptimized',
- meson_version: '>= 0.48.0',
+ meson_version: '>= 0.49.0',
)
ev_name = meson.project_name().to_lower()
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]