[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20190401144315.117f9c75@lwn.net>
Date: Mon, 1 Apr 2019 14:43:15 -0600
From: Jonathan Corbet <corbet@....net>
To: Mauro Carvalho Chehab <mchehab+samsung@...nel.org>
Cc: Linux Doc Mailing List <linux-doc@...r.kernel.org>,
Mauro Carvalho Chehab <mchehab@...radead.org>,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH 1/2] docs: Makefile: use latexmk if available
On Sat, 30 Mar 2019 10:45:58 -0300
Mauro Carvalho Chehab <mchehab+samsung@...nel.org> wrote:
> 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.
Seems to work. I've applied both, thanks.
jon
Powered by blists - more mailing lists