diff options
author | Rafael Fontenelle <rffontenelle@users.noreply.github.com> | 2017-04-13 09:39:39 -0300 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2017-04-13 23:39:22 +0300 |
commit | 7c43edb840bbeb844d63b1879f59a3c4afe64acf (patch) | |
tree | 448fa531472687a90a6457af897db69eefba063a /mesonbuild/scripts/gtkdochelper.py | |
parent | c52963cd16235ac4f6953fbbd33d257823331afa (diff) | |
download | meson-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/scripts/gtkdochelper.py')
-rw-r--r-- | mesonbuild/scripts/gtkdochelper.py | 2 |
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] |