[dconf: 10/21] build: Use gnome's gtkdoc_html_dir function



commit d592c5169f1ac2096dcbcdb619ae197b4042d049
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.

 docs/meson.build | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
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
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]