Skip to content

Commit d94df02

Browse files
mchehabJonathan Corbet
authored andcommitted
docs: Makefile: honor V=0 for docs building
Reduce the number of displayed mesages when building the docs with V=0. Suggested-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org> Link: https://lore.kernel.org/r/478c114a2399b68a18de94ee5f98649304f3903b.1603796153.git.mchehab+huawei@kernel.org Signed-off-by: Jonathan Corbet <corbet@lwn.net>
1 parent 3650b22 commit d94df02

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Documentation/Makefile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,10 @@ BUILDDIR = $(obj)/output
2121
PDFLATEX = xelatex
2222
LATEXOPTS = -interaction=batchmode
2323

24+
ifeq ($(KBUILD_VERBOSE),0)
25+
SPHINXOPTS += "-q"
26+
endif
27+
2428
# User-friendly check for sphinx-build
2529
HAVE_SPHINX := $(shell if which $(SPHINXBUILD) >/dev/null 2>&1; then echo 1; else echo 0; fi)
2630

0 commit comments

Comments
 (0)