From: Akira Yokosawa <akiyks@gmail.com>
To: Jonathan Corbet <corbet@lwn.net>
Cc: linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org,
Akira Yokosawa <akiyks@gmail.com>
Subject: [PATCH] docs: Makefile: Add -no-shell-escape option to LATEXOPTS
Date: Thu, 10 Feb 2022 10:26:53 +0900 [thread overview]
Message-ID: <519bd2d9-1bee-03e1-eeb4-d9883c18be0c@gmail.com> (raw)
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@lwn.net>
Signed-off-by: Akira Yokosawa <akiyks@gmail.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
next reply other threads:[~2022-02-10 1:27 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-02-10 1:26 Akira Yokosawa [this message]
2022-02-10 1:43 ` [PATCH] docs: Makefile: Add -no-shell-escape option to LATEXOPTS Akira Yokosawa
2022-02-10 17:51 ` Jonathan Corbet
2022-02-11 2:12 ` Akira Yokosawa
2022-02-15 23:09 ` Jonathan Corbet
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=519bd2d9-1bee-03e1-eeb4-d9883c18be0c@gmail.com \
--to=akiyks@gmail.com \
--cc=corbet@lwn.net \
--cc=linux-doc@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox