]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Make sphinx-build warnings fatal
authorMichał Kępień <michal@isc.org>
Wed, 3 Feb 2021 10:44:02 +0000 (11:44 +0100)
committerMichał Kępień <michal@isc.org>
Wed, 3 Feb 2021 11:18:45 +0000 (12:18 +0100)
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)

doc/arm/Makefile.in
doc/man/Makefile.in

index 7105478b2eb8c2c8b8542c7912c471d62455d4a0..3f653b794c7e0d5b180caa3acc2dee09d3a21e0e 100644 (file)
@@ -27,6 +27,7 @@ SPHINXBUILD = @SPHINX_BUILD@
 SPHINXBUILDDIR = ${builddir}/_build
 
 common_SPHINXOPTS =    \
+       -W              \
        -a              \
        -v              \
        -c "${abs_srcdir}"
index ebe21f1998a42e828ce25b97e0954cbdfd63a08b..81d3681972326921b9f1c80d26ae5b7c352a8f7e 100644 (file)
@@ -152,6 +152,7 @@ SPHINXBUILD = @SPHINX_BUILD@
 SPHINXBUILDDIR = ${builddir}/_build
 
 common_SPHINXOPTS =            \
+       -W                      \
        -a                      \
        -v                      \
        -c "${abs_srcdir}"