about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/libraries/libmodulemd/glib-devdoc.patch
blob: cde42d8e0b2e8013890925e3b88376366d16a76a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/meson.build b/meson.build
index a8b02b4..dd31a76 100644
--- a/meson.build
+++ b/meson.build
@@ -67,7 +67,7 @@ test = find_program('test')
 with_docs = get_option('with_docs')
 if with_docs
   gtkdoc = dependency('gtk-doc')
-  glib_docpath = join_paths(glib_prefix, 'share', 'gtk-doc', 'html')
+  glib_docpath = join_paths('@glib_devdoc@', 'share', 'gtk-doc', 'html')
 
   ret = run_command ([test, '-e', join_paths(glib_docpath, 'glib/index.html')])
   if ret.returncode() != 0