diff options
author | Sébastien Wilmet <swilmet@gnome.org> | 2018-04-01 14:42:45 +0200 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2018-04-02 19:49:22 +0300 |
commit | 51a19521729484b9bd3c42653303a29489c574f1 (patch) | |
tree | 57f402dd8f4c2148a326999b63d63079cd938b20 /mesonbuild | |
parent | b515eac75c46d94d192bbfb30523aa36209323ce (diff) | |
download | meson-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.py | 2 |
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, |