doc: fix build when sphinx reports version to stderr
authorBruce Richardson <bruce.richardson@intel.com>
Mon, 22 Jun 2020 14:00:02 +0000 (15:00 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Thu, 30 Jul 2020 23:09:26 +0000 (01:09 +0200)
commit0e28cca82a81fb97597096cf2e30a49eb9af5043
tree3abffd1d2c4e8f1d0883db0a5f3ec8154631c8ab
parenta8354c99a912e1c2513e113ae07c9e91237f7951
doc: fix build when sphinx reports version to stderr

When sphinx-build reports its version information to stderr rather
than stdout, the wrapper script misses it, and then fails to run.
We can fix this by redirecting stderr to stdout for the version
query call.

Fixes: f5ab2074cfba ("doc: rebuild with meson whenever a file changes")
Cc: stable@dpdk.org
Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
Tested-by: Ciara Power <ciara.power@intel.com>
Tested-by: David Marchand <david.marchand@redhat.com>
buildtools/call-sphinx-build.py