[dconf/wip/inigomartinez/meson: 10/14] build: Use gnome's gtkdoc_html_dir function
- From: Iñigo Martínez <inigomartinez src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [dconf/wip/inigomartinez/meson: 10/14] build: Use gnome's gtkdoc_html_dir function
- Date: Wed, 11 Apr 2018 07:58:01 +0000 (UTC)
commit d0e95f58b385a4ba60fb677eb251cf2f5c3ea402
Author: Iñigo Martínez <inigomartinez gmail com>
Date: Tue Apr 10 23:09:56 2018 +0200
build: Use gnome's gtkdoc_html_dir function
meson's `gtkdoc_html_dir` function returns the path where HTML files
will be installed for a given module.
Instead of hard coding the directory, this function is used to set
documentations installation directory.
https://bugzilla.gnome.org/show_bug.cgi?id=790236
docs/meson.build | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/docs/meson.build b/docs/meson.build
index 65ca23d..7ff77fc 100644
--- a/docs/meson.build
+++ b/docs/meson.build
@@ -9,7 +9,7 @@ gnome.gtkdoc(
scan_args: '--rebuild-types',
gobject_typesfile: meson.project_name() + '.types',
install: true,
- install_dir: join_paths(dconf_datadir, 'gtk-doc', 'html', meson.project_name())
+ install_dir: join_paths(dconf_prefix, gnome.gtkdoc_html_dir(meson.project_name()))
)
if get_option('man')
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]