summaryrefslogtreecommitdiff
path: root/scripts/sphinx-pre-install
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab+samsung@kernel.org>2019-03-30 10:45:58 -0300
committerJonathan Corbet <corbet@lwn.net>2019-04-01 14:33:42 -0600
commit28f7c994255a9811caa17253353036559852c99c (patch)
tree3ad31d5f20274b778ae909300491f9a844304164 /scripts/sphinx-pre-install
parent6c5d24eef7be7adfcb608f2852ab69b58935133b (diff)
downloadlwn-28f7c994255a9811caa17253353036559852c99c.tar.gz
lwn-28f7c994255a9811caa17253353036559852c99c.zip
docs: Makefile: use latexmk if available
In the past, Sphinx was generating a LaTex Makefile that would run xelatex 3 times. Running it multiple times is needed in order to make the indexes right. However, newer versions of it runs it just once, as it expects the machine to use the "latexmk" build, with automatically detects the need for rebuilds. So, add a logic at the Makefile in order to detect if latexmk is installed. If so, it will call it. As an additional bonus, the output of latexmk is a little bit better, making easier to identify build problems. Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org> Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Diffstat (limited to 'scripts/sphinx-pre-install')
0 files changed, 0 insertions, 0 deletions