From e51edb011d8d3236049767355ffd04ceb1c8225f Mon Sep 17 00:00:00 2001 From: Marc Herbert Date: Tue, 14 Apr 2020 21:00:38 -0700 Subject: [PATCH] Makefile: sphinx-build -W --keep-going We just got rid of all sphinx warnings, so let's try to keep it that way. Also remove $(Q) to stop hiding the main, longest running and most important command in the Makefile. Signed-off-by: Marc Herbert --- Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index f8b1c9b1..ae05e89c 100644 --- a/Makefile +++ b/Makefile @@ -13,7 +13,9 @@ SPHINXBUILD = sphinx-build SPHINXPROJ = "SOF Project" SOURCEDIR = . BUILDDIR = _build +ifneq ($(LAX),1) ERROROPTS = -W --keep-going +endif DOC_TAG ?= development RELEASE ?= latest @@ -46,7 +48,9 @@ else endif html: apidocs - $(Q)$(SPHINXBUILD) -j auto -t $(DOC_TAG) -b html -d $(BUILDDIR)/doctrees $(SOURCEDIR) $(BUILDDIR)/html $(SPHINXOPTS) $(O) + $(SPHINXBUILD) -j auto -t $(DOC_TAG) -b html \ +-d $(BUILDDIR)/doctrees $(SOURCEDIR) $(BUILDDIR)/html $(SPHINXOPTS) \ +$(ERROROPTS) $(O) # Reminder: to see _all_ warnings you must "make clean" first.