aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild
diff options
context:
space:
mode:
authorRafael Fontenelle <rffontenelle@users.noreply.github.com>2017-04-13 09:39:39 -0300
committerJussi Pakkanen <jpakkane@gmail.com>2017-04-13 23:39:22 +0300
commit7c43edb840bbeb844d63b1879f59a3c4afe64acf (patch)
tree448fa531472687a90a6457af897db69eefba063a /mesonbuild
parentc52963cd16235ac4f6953fbbd33d257823331afa (diff)
downloadmeson-7c43edb840bbeb844d63b1879f59a3c4afe64acf.zip
meson-7c43edb840bbeb844d63b1879f59a3c4afe64acf.tar.gz
meson-7c43edb840bbeb844d63b1879f59a3c4afe64acf.tar.bz2
gtkdochelper: Fix type file name option
'gtkdoc-scangobj' script was recently ported to Python (it was Perl), and it now requires providing '--type' option to specify the name of the file to store the types in. Without this option, 'gtkdockelper' will exit with error status 2 and will throw a message "gtkdoc-scangobj: error: unrecognized arguments: <typefile>"
Diffstat (limited to 'mesonbuild')
-rw-r--r--mesonbuild/scripts/gtkdochelper.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/scripts/gtkdochelper.py b/mesonbuild/scripts/gtkdochelper.py
index 53ed07f..434225e 100644
--- a/mesonbuild/scripts/gtkdochelper.py
+++ b/mesonbuild/scripts/gtkdochelper.py
@@ -107,7 +107,7 @@ def build_gtkdoc(source_root, build_root, doc_subdir, src_subdirs,
gtkdoc_run_check(scan_cmd, abs_out)
if gobject_typesfile:
- scanobjs_cmd = ['gtkdoc-scangobj'] + scanobjs_args + [gobject_typesfile,
+ scanobjs_cmd = ['gtkdoc-scangobj'] + scanobjs_args + ['--types=' + gobject_typesfile,
'--module=' + module,
'--cflags=' + cflags,
'--ldflags=' + ldflags]