[PATCH] docs: Makefile: Add -no-shell-escape option to LATEXOPTS

From: Akira Yokosawa
Date: Wed Feb 09 2022 - 20:27:14 EST


By adding this option, message of "restricted \write18 enabled" from
LaTeX can be silenced.

As there is no use of \write18 in LaTeX sources from sphinx-build, it
is safe to add this option.

Reported-by: Jonathan Corbet <corbet@xxxxxxx>
Signed-off-by: Akira Yokosawa <akiyks@xxxxxxxxx>
---
Documentation/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Documentation/Makefile b/Documentation/Makefile
index 9f4bd42cef18..64d44c1ecad3 100644
--- a/Documentation/Makefile
+++ b/Documentation/Makefile
@@ -26,7 +26,7 @@ SPHINX_CONF = conf.py
PAPER =
BUILDDIR = $(obj)/output
PDFLATEX = xelatex
-LATEXOPTS = -interaction=batchmode
+LATEXOPTS = -interaction=batchmode -no-shell-escape

ifeq ($(KBUILD_VERBOSE),0)
SPHINXOPTS += "-q"

base-commit: f647de4b02dcb1815fb3019f86a001a681daf0a1
--
2.17.1