]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
doc/Makefile: turn warnings into errors
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Fri, 21 Feb 2020 17:24:03 +0000 (18:24 +0100)
committerTom Rini <trini@konsulko.com>
Tue, 25 Feb 2020 14:06:40 +0000 (09:06 -0500)
Several patches delivered incorrect restructured text as documentation. We
should be able to discover this in Travis CI, Gitlab CI, or Azure CI.

So let us turn all build warnings into errors.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
doc/Makefile

index 5135a96e88d7897a5eb03f46dc0f8ddee3e6c919..0e0da5666f825b8874b788a1848875045d0d5e6d 100644 (file)
@@ -56,6 +56,7 @@ quiet_cmd_sphinx = SPHINX  $@ --> file://$(abspath $(BUILDDIR)/$3/$4)
        PYTHONDONTWRITEBYTECODE=1 \
        BUILDDIR=$(abspath $(BUILDDIR)) SPHINX_CONF=$(abspath $(srctree)/$(src)/$5/$(SPHINX_CONF)) \
        $(SPHINXBUILD) \
+       -W \
        -b $2 \
        -c $(abspath $(srctree)/$(src)) \
        -d $(abspath $(BUILDDIR)/.doctrees/$3) \