meson: docs: make gtk-doc find the gobject.types file

Should really use files('gobject.types') instead, but that
seems to get expanded to the build path for some reason:
https://github.com/mesonbuild/meson/issues/1875
This commit is contained in:
Tim-Philipp Müller 2017-05-31 23:54:59 +01:00 committed by Matthias Clasen
parent 42705b57f7
commit 24ea260b4c

View File

@ -20,7 +20,7 @@ if get_option('with-docs') != 'no'
gnome.gtkdoc('gobject',
main_xml : 'gobject-docs.xml',
namespace : 'g',
gobject_typesfile : 'gobject.types',
gobject_typesfile : join_paths(meson.current_source_dir(), 'gobject.types'),
mode : 'none',
dependencies : [libgobject_dep, libglib_dep],
src_dir : 'gobject',