docs: scripts/sphinx-pre-install: suggest latexmk for building pdf
authorMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Sat, 30 Mar 2019 13:45:59 +0000 (10:45 -0300)
committerJonathan Corbet <corbet@lwn.net>
Mon, 1 Apr 2019 20:33:48 +0000 (14:33 -0600)
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 <mchehab+samsung@kernel.org>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
scripts/sphinx-pre-install

index 067459760a7b048d4b53c28ac476189ac5884c21..f6a5c0bae31ec5aca92fa3da34aa0408265dad28 100755 (executable)
@@ -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();