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>"
pull/1482/merge
Rafael Fontenelle 8 years ago committed by Jussi Pakkanen
parent c52963cd16
commit 7c43edb840
  1. 1
      authors.txt
  2. 2
      mesonbuild/scripts/gtkdochelper.py

@ -79,3 +79,4 @@ Aaron Plattner
Jon Turney
Wade Berrier
Richard Hughes
Rafael Fontenelle

@ -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]

Loading…
Cancel
Save