From: Heinrich Schuchardt Date: Fri, 21 Feb 2020 17:24:03 +0000 (+0100) Subject: doc/Makefile: turn warnings into errors X-Git-Tag: v2020.04-rc3~3^2 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=f3957b69fd1d691c0129d3dd3283169056d3c928;p=oweals%2Fu-boot.git doc/Makefile: turn warnings into errors 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 Reviewed-by: Bin Meng --- diff --git a/doc/Makefile b/doc/Makefile index 5135a96e88..0e0da5666f 100644 --- a/doc/Makefile +++ b/doc/Makefile @@ -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) \