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-08-11 22:56:33 +0200
commitd592c5169f1ac2096dcbcdb619ae197b4042d049 (patch)
tree56127d29a3a186443d0f8a8f2f1ac1f44c7c1ba5
parent48b88c34d8917552f79e48c975b321d917fc0205 (diff)
downloaddconf-d592c5169f1ac2096dcbcdb619ae197b4042d049.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.
-rw-r--r--docs/meson.build2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/meson.build b/docs/meson.build
index c1e4616..ed3e45a 100644
--- a/docs/meson.build
+++ b/docs/meson.build
@@ -10,7 +10,7 @@ if get_option('gtk_doc')
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()))
)
endif