gtkdochelper: print warnings

The GTK-Doc commands output was never printed, except in case of error.
So there was no way to see the warnings.

https://github.com/mesonbuild/meson/issues/2396
pull/3358/head
Sébastien Wilmet 7 years ago committed by Jussi Pakkanen
parent b515eac75c
commit 51a1952172
  1. 2
      mesonbuild/scripts/gtkdochelper.py

@ -58,6 +58,8 @@ def gtkdoc_run_check(cmd, cwd, library_path=None):
if out: if out:
err_msg.append(out) err_msg.append(out)
raise MesonException('\n'.join(err_msg)) raise MesonException('\n'.join(err_msg))
elif out:
print(out)
def build_gtkdoc(source_root, build_root, doc_subdir, src_subdirs, def build_gtkdoc(source_root, build_root, doc_subdir, src_subdirs,
main_file, module, main_file, module,

Loading…
Cancel
Save