]> git.proxmox.com Git - mirror_qemu.git/commitdiff
docs: make sphinx-build be quiet by default
authorDaniel P. Berrangé <berrange@redhat.com>
Thu, 12 Aug 2021 10:24:27 +0000 (11:24 +0100)
committerThomas Huth <thuth@redhat.com>
Wed, 25 Aug 2021 10:19:18 +0000 (12:19 +0200)
The sphinx-build is fairly verbose spitting out pages of output to the
console, which causes errors from other build commands to be scrolled
off the top of the terminal. This can leave the mistaken impression that
the build passed, when in fact there was a failure.

Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <20210812102427.4036399-1-berrange@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
docs/meson.build

index 300b13432913b10a09c629347e8a3573b7dc628d..cffe1ecf1d9b91b428c1af10e5534c23a537ab26 100644 (file)
@@ -9,7 +9,7 @@ endif
 # Check if tools are available to build documentation.
 build_docs = false
 if sphinx_build.found()
-  SPHINX_ARGS = ['env', 'CONFDIR=' + qemu_confdir, sphinx_build]
+  SPHINX_ARGS = ['env', 'CONFDIR=' + qemu_confdir, sphinx_build, '-q']
   # If we're making warnings fatal, apply this to Sphinx runs as well
   if get_option('werror')
     SPHINX_ARGS += [ '-W' ]