Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / libraries / libmodulemd / glib-devdoc.patch
blobcde42d8e0b2e8013890925e3b88376366d16a76a
1 diff --git a/meson.build b/meson.build
2 index a8b02b4..dd31a76 100644
3 --- a/meson.build
4 +++ b/meson.build
5 @@ -67,7 +67,7 @@ test = find_program('test')
6 with_docs = get_option('with_docs')
7 if with_docs
8 gtkdoc = dependency('gtk-doc')
9 - glib_docpath = join_paths(glib_prefix, 'share', 'gtk-doc', 'html')
10 + glib_docpath = join_paths('@glib_devdoc@', 'share', 'gtk-doc', 'html')
12 ret = run_command ([test, '-e', join_paths(glib_docpath, 'glib/index.html')])
13 if ret.returncode() != 0