From: Michał Kępień Date: Wed, 3 Feb 2021 10:44:02 +0000 (+0100) Subject: Make sphinx-build warnings fatal X-Git-Tag: v9.16.12~6^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7e0c374d83f7b91d27279d469441ca72a9ab799a;p=thirdparty%2Fbind9.git Make sphinx-build warnings fatal In order to prevent documentation building issues from being glossed over, pass the -W command line switch to all sphinx-build invocations. This causes the latter to return with a non-zero exit code whenever any Sphinx warnings are triggered. (cherry picked from commit 51479ed9a3f76ec3b8113e2614438cef77e0ce27) --- diff --git a/doc/arm/Makefile.in b/doc/arm/Makefile.in index 7105478b2eb..3f653b794c7 100644 --- a/doc/arm/Makefile.in +++ b/doc/arm/Makefile.in @@ -27,6 +27,7 @@ SPHINXBUILD = @SPHINX_BUILD@ SPHINXBUILDDIR = ${builddir}/_build common_SPHINXOPTS = \ + -W \ -a \ -v \ -c "${abs_srcdir}" diff --git a/doc/man/Makefile.in b/doc/man/Makefile.in index ebe21f1998a..81d36819723 100644 --- a/doc/man/Makefile.in +++ b/doc/man/Makefile.in @@ -152,6 +152,7 @@ SPHINXBUILD = @SPHINX_BUILD@ SPHINXBUILDDIR = ${builddir}/_build common_SPHINXOPTS = \ + -W \ -a \ -v \ -c "${abs_srcdir}"