Browse Source

documentation: Makefile: turn warnings into errors by default

-W is for turning warnings into errors, --keep-going to make sure the
whole documentation is built and all warnings will be printed before
failing.

Since there's currently no warning, it's time to introduce it!

(From yocto-docs rev: 5d7b8547549b2203a03df617cdba70ccf2194c62)

Signed-off-by: Quentin Schulz <foss@0leil.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Quentin Schulz 4 years ago
parent
commit
c2a68819d0
1 changed files with 1 additions and 1 deletions
  1. 1 1
      documentation/Makefile

+ 1 - 1
documentation/Makefile

@@ -3,7 +3,7 @@
 
 # You can set these variables from the command line, and also
 # from the environment for the first two.
-SPHINXOPTS    ?= -j auto
+SPHINXOPTS    ?= -W --keep-going -j auto
 SPHINXBUILD   ?= sphinx-build
 SOURCEDIR     = .
 BUILDDIR      = _build