From: Mauro Carvalho Chehab Date: Sat, 30 Mar 2019 13:45:59 +0000 (-0300) Subject: docs: scripts/sphinx-pre-install: suggest latexmk for building pdf X-Git-Tag: v5.15~6391^2~99 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5f6df00fd4569cf76f4e9636bbfc826ea32e2dde;p=platform%2Fkernel%2Flinux-starfive.git docs: scripts/sphinx-pre-install: suggest latexmk for building pdf The usage of latexmk improves the PDF output, as it re-run xelatex when it detects the need, in order to properly generate indexes and cross-references. As this is not a mandatory requirement, only suggest its addition. Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Jonathan Corbet --- diff --git a/scripts/sphinx-pre-install b/scripts/sphinx-pre-install index 0674597..f6a5c0b 100755 --- a/scripts/sphinx-pre-install +++ b/scripts/sphinx-pre-install @@ -532,6 +532,7 @@ sub check_needs() check_program("dot", 1); check_program("convert", 1); check_program("rsvg-convert", 1) if ($pdf); + check_program("latexmk", 1) if ($pdf); check_distros();