Commit 93e97100 authored by Mart Raudsepp's avatar Mart Raudsepp

meson: Fix gtk-doc module name

gtk-docs get installed into API versioned subdir (for being able to
parallel-install with past and potential future API versions), but
unversioned package_name is passed to gnome.gtkdoc. This results in
/usr/share/gtk-doc/html/champlain-0.12/champlain.devhelp2 being
installed, which the devhelp tool ignores. The devhelp file needs to
be named the same as the subdir for it to be picked up, thus use
package_string instead of package_name as gtkdoc positional argument
to fix it.
parent 17079e5a
......@@ -22,7 +22,7 @@ build-champlain:
- meson -Dwidgetry=true -Ddemos=true -Dgtk_doc=true -Dintrospection=true -Dvapi=true _build .
- ninja -C _build
- ninja -C _build test
- ninja -C _build champlain-doc
- ninja -C _build champlain-0.12-doc
- ccache --show-stats
artifacts:
name: "champlain-doc"
......
......@@ -61,7 +61,7 @@ libchamplain_reference_fixxref_args = [
]
gnome.gtkdoc(
package_name,
package_string,
main_xml: 'champlain-docs.xml',
mode: 'xml',
gobject_typesfile: files('champlain.types'),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment