From e7f6524cb6832123895a390a662b180b7a4515d3 Mon Sep 17 00:00:00 2001 From: Michael Hanselmann <hansmi@google.com> Date: Thu, 12 Nov 2009 15:40:43 +0100 Subject: [PATCH] sphinx: Treat warnings as errors This makes it easier to catch warnings. Signed-off-by: Michael Hanselmann <hansmi@google.com> Reviewed-by: Guido Trotter <ultrotter@google.com> --- Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.am b/Makefile.am index 8f53aa109..718775ef3 100644 --- a/Makefile.am +++ b/Makefile.am @@ -160,7 +160,7 @@ docrst = \ doc/html/.stamp: $(docrst) $(docpng) doc/conf.py configure.ac @test -n "$(SPHINX)" || \ { echo 'sphinx-build' not found during configure; exit 1; } - PYTHONPATH=. $(RUN_IN_TEMPDIR) $(SPHINX) -q -b html \ + PYTHONPATH=. $(RUN_IN_TEMPDIR) $(SPHINX) -q -W -b html \ -d . \ -D version="$(VERSION_MAJOR).$(VERSION_MINOR)" \ -D release="$(PACKAGE_VERSION)" \ -- GitLab