From nobody Wed Oct 1 23:35:07 2025 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D2A6527F012; Mon, 29 Sep 2025 08:54:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1759136047; cv=none; b=fKwxWGA8wYtgFyZK0VcQOreHoOX4awIU4vxvIaqXR6ZPHMoBiZ5ViFWANcVSFw0Q/adMP33MfrMXZgYV54jfOmlHUKBEEef/EILy623C1MbiXjm9vDtDI3JKF5FuG54fFFf600xYXHW6qQd7mqLldNyYGLAHYpSDJ7KihhIDlUw= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1759136047; c=relaxed/simple; bh=f2nvQNoldy0Wr0lssrlNF9UVO/sGaqRBBP1u0vyUoFM=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=ZLhqlXlVy5xzBe+fYytIgmj5tq14fAfuEMJjZ4L87U6P+OObDuJF1MyKYygh5BLioKUJIuOvcooEhb3EpmqPrUK6CLx1qoHQDj7/TaI5g8osMX/9PTyQz7yk+nJyYDIaA13kJP/unS46lZV7USVE4YIr2yfpSZImFdgzYku8Cqc= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=IzOyU37h; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="IzOyU37h" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 89FB3C19421; Mon, 29 Sep 2025 08:54:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1759136047; bh=f2nvQNoldy0Wr0lssrlNF9UVO/sGaqRBBP1u0vyUoFM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=IzOyU37h0LYHQBxkuVhOn+byCi9x0mogP2akPVmofET6ImL3xSamgmJUHTBxMg4IY gOD6YHDge5v9S3CBs8Iod/+DlQjeT8Ze5zW4Rok3MCCssR0YB9hTgAJ3ksOmZpyHFl qm+lSA7hHXlzpwvH8dJSOH7JKhB0m+7ELciDEKzyE3rZZoikB3jrgCnl9AqpvTj1YF BmylS4Dkvy3m27tt+iiyO9LqyYVEQT+YKip8BPL9l0hhLd6OqVgRz0PqZ8BwBis8Nt vywK5ISJ1gM6vUpzLxO7GbyJe8MScCNgOcE+DzEFcDyEE77tdVM5Xi0lXuUO7Ud0Uw 6f1v+DlFwS0zQ== Received: from mchehab by mail.kernel.org with local (Exim 4.98.2) (envelope-from ) id 1v39e1-00000009dSJ-27sn; Mon, 29 Sep 2025 10:54:05 +0200 From: Mauro Carvalho Chehab To: "Jonathan Corbet" , Linux Doc Mailing List Cc: Mauro Carvalho Chehab , "Mauro Carvalho Chehab" , linux-kernel@vger.kernel.org, Akira Yokosawa Subject: [PATCH 2/3] tools/docs: sphinx-build-wrapper: pdflatex is needed only for pdf Date: Mon, 29 Sep 2025 10:53:29 +0200 Message-ID: X-Mailer: git-send-email 2.51.0 In-Reply-To: References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Sender: Mauro Carvalho Chehab Content-Type: text/plain; charset="utf-8" Fix the logic which checks for pdflatex. Currently, it complains for both pdfdocs and latexdocs, but for the latter, all it is needed is Sphinx. Reported-by: Akira Yokosawa Closes: https://lore.kernel.org/linux-doc/cover.1758881658.git.mchehab+huaw= ei@kernel.org/T/#ma81ff2e11b8579e5edc23e4381e464081ae668b7 = Signed-off-by: Mauro Carvalho Chehab --- tools/docs/sphinx-build-wrapper | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/docs/sphinx-build-wrapper b/tools/docs/sphinx-build-wrap= per index cce985dced00..a74998e8309a 100755 --- a/tools/docs/sphinx-build-wrapper +++ b/tools/docs/sphinx-build-wrapper @@ -650,7 +650,7 @@ class SphinxBuilder: if not sphinxbuild and target !=3D "mandocs": sys.exit(f"Error: {self.sphinxbuild} not found in PATH.\n") =20 - if builder =3D=3D "latex": + if target =3D=3D "pdfdocs": if not self.pdflatex_cmd and not self.latexmk_cmd: sys.exit("Error: pdflatex or latexmk required for PDF gene= ration") =20 --=20 2.51.0