Skip to contentSkip to conversation

docs: Makefile: honor V=0 for docs building

PATCH Applied Mauro Carvalho Chehab 3 participants 3 messages Oct 27, 2020 – Oct 29, 2020 1 message not in the archive Documentation

lore
Share & tools
lore
#1 lore raw

PATCH 1/1 docs: Makefile: honor V=0 for docs building

In reply to a message not in the archive

Reduce the number of displayed mesages when building the docs with V=0.

---
 Documentation/Makefile | 4 ++++
 1 file changed, 4 insertions(+)
Documentation/Makefile +4 -0
index 6a59a13d3c53..61a7310b49e0 100644
@@ -26,6 +26,10 @@ BUILDDIR      = $(obj)/output
 PDFLATEX      = xelatex
 LATEXOPTS     = -interaction=batchmode
 
+ifeq ($(KBUILD_VERBOSE),0)
+SPHINXOPTS    += "-q"
+endif
+
 # User-friendly check for sphinx-build
 HAVE_SPHINX := $(shell if which $(SPHINXBUILD) >/dev/null 2>&1; then echo 1; else echo 0; fi)
 
Signature · 1 line
2.26.2
maintainer Applied
#2 lore raw
In reply to Mauro Carvalho Chehab
Quoted 14 lines · On Tue, 27 Oct 2020 11:56:15 +0100 Mauro Carvalho Chehab…

Reduce the number of displayed mesages when building the docs with V=0.

---
 Documentation/Makefile | 4 ++++
 1 file changed, 4 insertions(+)
Documentation/Makefile +0 -0
index 6a59a13d3c53..61a7310b49e0 100644

Documentation/Makefile BUILDDIR = $(obj)/output · line 32

Quoted 7 lines
Documentation/Makefile +4 -0
@@ -26,6 +26,10 @@ BUILDDIR      = $(obj)/output
 PDFLATEX      = xelatex
 LATEXOPTS     = -interaction=batchmode
 
+ifeq ($(KBUILD_VERBOSE),0)
+SPHINXOPTS    += "-q"
+endif
+

Applied, thanks. ...ahhh the silence....:)

jon