]> 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 10:44:02 +0000 (11:44 +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.

Makefile.docs

index 8fe3114dbc60efe670415961c8b0b4f35e854088..3b2700687be68b9c9a4c663b5db69f33dfb95729 100644 (file)
@@ -10,6 +10,7 @@ AM_V_SPHINX_0 = @echo "  SPHINX   $@";
 SPHINXBUILDDIR = $(builddir)/_build
 
 common_SPHINXOPTS =                    \
+       -W                              \
        -c $(srcdir)                    \
        -a                              \
        $(SPHINX_V)