aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild
diff options
context:
space:
mode:
authorSébastien Wilmet <swilmet@gnome.org>2018-04-01 14:42:45 +0200
committerJussi Pakkanen <jpakkane@gmail.com>2018-04-02 19:49:22 +0300
commit51a19521729484b9bd3c42653303a29489c574f1 (patch)
tree57f402dd8f4c2148a326999b63d63079cd938b20 /mesonbuild
parentb515eac75c46d94d192bbfb30523aa36209323ce (diff)
downloadmeson-51a19521729484b9bd3c42653303a29489c574f1.zip
meson-51a19521729484b9bd3c42653303a29489c574f1.tar.gz
meson-51a19521729484b9bd3c42653303a29489c574f1.tar.bz2
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
Diffstat (limited to 'mesonbuild')
-rw-r--r--mesonbuild/scripts/gtkdochelper.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/mesonbuild/scripts/gtkdochelper.py b/mesonbuild/scripts/gtkdochelper.py
index 2a5ee8b..3fe7fb7 100644
--- a/mesonbuild/scripts/gtkdochelper.py
+++ b/mesonbuild/scripts/gtkdochelper.py
@@ -58,6 +58,8 @@ def gtkdoc_run_check(cmd, cwd, library_path=None):
if out:
err_msg.append(out)
raise MesonException('\n'.join(err_msg))
+ elif out:
+ print(out)
def build_gtkdoc(source_root, build_root, doc_subdir, src_subdirs,
main_file, module,