docs-rst: Don't go to interactive mode on errors
authorMauro Carvalho Chehab <mchehab@s-opensource.com>
Tue, 16 Aug 2016 16:25:42 +0000 (13:25 -0300)
committerJonathan Corbet <corbet@lwn.net>
Thu, 18 Aug 2016 22:42:24 +0000 (16:42 -0600)
When building for LaTeX, it stops and enters into interactive
mode on errors. Don't do that, as there are some non-fatal errors
on media books when using Sphinx 1.4.x that we don't know how fix
yet.

Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Documentation/Makefile.sphinx

index 16a3502c9e4089fe615a0719c21d52c7ccf20bff..ba4efb1f68f30c3236b38a7894b3555e4a28bbdd 100644 (file)
@@ -72,7 +72,7 @@ ifeq ($(HAVE_PDFLATEX),0)
        @echo "  SKIP    Sphinx $@ target."
 else # HAVE_PDFLATEX
        @$(call loop_cmd,sphinx,latex,.,latex,.)
-       $(Q)$(MAKE) PDFLATEX=xelatex -C $(BUILDDIR)/latex
+       $(Q)$(MAKE) PDFLATEX=xelatex LATEXOPTS="-interaction=nonstopmode" -C $(BUILDDIR)/latex
 endif # HAVE_PDFLATEX
 
 epubdocs: