[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <519bd2d9-1bee-03e1-eeb4-d9883c18be0c@gmail.com>
Date: Thu, 10 Feb 2022 10:26:53 +0900
From: Akira Yokosawa <akiyks@...il.com>
To: Jonathan Corbet <corbet@....net>
Cc: linux-doc@...r.kernel.org, linux-kernel@...r.kernel.org,
Akira Yokosawa <akiyks@...il.com>
Subject: [PATCH] docs: Makefile: Add -no-shell-escape option to LATEXOPTS
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@....net>
Signed-off-by: Akira Yokosawa <akiyks@...il.com>
---
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
Powered by blists - more mailing lists