summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIñigo Martínez <inigomartinez@gmail.com>2018-04-10 23:09:56 +0200
committerIñigo Martínez <inigomartinez@gmail.com>2018-04-11 09:21:04 +0200
commitd0e95f58b385a4ba60fb677eb251cf2f5c3ea402 (patch)
tree39b0e2f3c196be6e2cd855f87f8313bb1fc1f4c8
parent7005d1489e41e36e8c82066c1800368e0443ff6e (diff)
downloaddconf-d0e95f58b385a4ba60fb677eb251cf2f5c3ea402.tar.gz
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
-rw-r--r--docs/meson.build2
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')