Skip to content

Commit

Permalink
docs: Makefile: honor V=0 for docs building
Browse files Browse the repository at this point in the history
Reduce the number of displayed mesages when building the
docs with V=0.

Suggested-by: Stephen Rothwell <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Link: https://lore.kernel.org/r/478c114a2399b68a18de94ee5f98649304f3903b.1603796153.git.mchehab+huawei@kernel.org
Signed-off-by: Jonathan Corbet <[email protected]>
  • Loading branch information
mchehab authored and Jonathan Corbet committed Oct 28, 2020
1 parent 3650b22 commit d94df02
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Documentation/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,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)

Expand Down

0 comments on commit d94df02

Please sign in to comment.