Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp643888yba; Mon, 1 Apr 2019 13:44:18 -0700 (PDT) X-Google-Smtp-Source: APXvYqxFQ8SzktJ2vjrvgV6ci41kNoqvcKt0CFZAbXHVJlsgcpHaAPEqkwTBMBN3GL5tKG35TgjP X-Received: by 2002:a63:384:: with SMTP id 126mr33496229pgd.341.1554151458858; Mon, 01 Apr 2019 13:44:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1554151458; cv=none; d=google.com; s=arc-20160816; b=n/MKcF0C2SuZ+Uw7jp0fmW4LWMTLewMIRpEN+HWL62h7w1axiICxB50B96dMWuvED9 RbzErw8imvSlb7RO1zAPTNlMMwySBOQCScNbAnTHZwzYvsRp3RzIgocZ7AVmifx2lGa3 eqGSgmWJxZo/9wl7tjSzC9QGzTtq5z2RUw50xP8Ft5DSayZEOpoNF6VrC7nCn7xrRoF3 B+5wof/amnLEdQeznZ3TexBLQiEPY1ColEeIgeRs/gUTnR5DKz/N8jAaxoXPrdlqNwbp dxDHrEzNU7wzRXrT30dfqhc3GCrXvWErBDNescOpCOLDmdbQYFb+AOx6mqd0+rFox/fL X+hA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :organization:references:in-reply-to:message-id:subject:cc:to:from :date; bh=F299UO5k6iPYFdXUoTLNtC73z6RHP8Hpqnvz5mD+geQ=; b=nHn6X6qGhbG27UTB5Qo4oNGNrqveqZqTylh54gdDISWTFSkUF8guc18V4iLjZzXkej FLMbpHrW1wTOSuM/N8tZplr2ffTuTSwkHaEW74ckC5XLBa/Qs6fTYfZ6O7GzXeccrlwN NWNi8I38ajEghh4nyFAfdk+jwH29QIpYOJF3+hi+RmMl7B9VHl6ypw0bI0J0YIkUgONo WmjB3jnZBfPR9PfafF23Mruib5RKcJ7hHWediCQa3D0ZYgpIRkYTdVCYja6wxC7a5CjG ZxzeDd0k2lK0XaPdJHAWW6PC092N+O9Y+oiHJPprQUqOsShfa+FC3V77gDLfxa8t0sJs cIfA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g4si7769356plp.196.2019.04.01.13.44.03; Mon, 01 Apr 2019 13:44:18 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727149AbfDAUnV (ORCPT + 99 others); Mon, 1 Apr 2019 16:43:21 -0400 Received: from ms.lwn.net ([45.79.88.28]:40556 "EHLO ms.lwn.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726109AbfDAUnR (ORCPT ); Mon, 1 Apr 2019 16:43:17 -0400 Received: from lwn.net (localhost [127.0.0.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ms.lwn.net (Postfix) with ESMTPSA id D1AB27DE; Mon, 1 Apr 2019 20:43:16 +0000 (UTC) Date: Mon, 1 Apr 2019 14:43:15 -0600 From: Jonathan Corbet To: Mauro Carvalho Chehab Cc: Linux Doc Mailing List , Mauro Carvalho Chehab , linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/2] docs: Makefile: use latexmk if available Message-ID: <20190401144315.117f9c75@lwn.net> In-Reply-To: References: Organization: LWN.net MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, 30 Mar 2019 10:45:58 -0300 Mauro Carvalho Chehab 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