From nobody Thu Oct 2 06:17:56 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 5F25B30594F; Mon, 22 Sep 2025 11:28:15 +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=1758540496; cv=none; b=HP67Wyj8gqyChpDLfuyWPfNDoVkMvIRB3cuCaqMOBnZVpq7stq9DlSuOtQ1fMxAtCrsjCS1fACGDMDwNQ5mThohBZcIqB6MlCADs4bg7UNqDggT6ibY5jYlOOEY2ZrZjlsq/VM9M2WrGjKhQlBhiu0E4FEotC1gZpPWyG8WySzY= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1758540496; c=relaxed/simple; bh=z1mNSQz3UrZbcale6Wt3b20gF0+3YdPSmgihFq1+T40=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=JkFwijwKC7Sg+Q9xFmoiax+QIjq4e4TdbO+k8TNBJkBECfy8B8y+t549mMWyGmeO1qM30aZrb/U5LX+S0TLpTLJPVBY5jGyk78X8qwE547og6x4WNFnpjbtE3cB5lq/T7HQ9oDAD3AiTBpkvx63fF00lz9r/U4Xi/muXMD53gKw= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=AYcun2W3; 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="AYcun2W3" Received: by smtp.kernel.org (Postfix) with ESMTPSA id C8AF9C4CEF0; Mon, 22 Sep 2025 11:28:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1758540495; bh=z1mNSQz3UrZbcale6Wt3b20gF0+3YdPSmgihFq1+T40=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=AYcun2W34cgPDsL/2GWEpP9h3opIyAgjVRcIW3cfBXtDad+/gXaq2ZSBvR13dujtS vvY1dft5iqw0UGiC9zC5YS2uZkuALGln9Xb4XNZVODwhG1x1RFixtEK+O0+f7Xwz9m lW3XvvZAwT39ngbmJ6m+tbpATVWbnHTvC6xwAiNClaL8mQuTIaZIBQQ+Fv04EwXVyC yn6ZV2sPxZZTv6HkPXJknxpX56fCUJ9XRvAN8vCVuoGpKJNKBOaQdMUWaJ/uQgWVpg lzan7zND1Ss+3L9GHMopDThVkQth5WXlyZJUd4cSL1p/amyuCRWrWGDl+B0lMQweaK LiebEcrIHrCgw== Received: from mchehab by mail.kernel.org with local (Exim 4.98.2) (envelope-from ) id 1v0eiL-00000005vOt-3UZS; Mon, 22 Sep 2025 13:28:13 +0200 From: Mauro Carvalho Chehab To: "Jonathan Corbet" , Linux Doc Mailing List Cc: Mauro Carvalho Chehab , "Mauro Carvalho Chehab" , linux-kernel@vger.kernel.org Subject: [PATCH v2 2/3] docs: Makefile: fix rustdoc detection Date: Mon, 22 Sep 2025 13:27:39 +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" During cleanups, the logic checking if .config exists were dropped, but removing it causes false-positives. So, re-add it. Signed-off-by: Mauro Carvalho Chehab --- Documentation/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Documentation/Makefile b/Documentation/Makefile index cc4ee55c75ed..c60db1038c9c 100644 --- a/Documentation/Makefile +++ b/Documentation/Makefile @@ -42,8 +42,10 @@ FONTS_CONF_DENY_VF ?=3D $(HOME)/deny-vf # User-friendly check for sphinx-build HAVE_SPHINX :=3D $(shell if which $(SPHINXBUILD) >/dev/null 2>&1; then ech= o 1; else echo 0; fi) =20 +ifneq ($(wildcard $(srctree)/.config),) ifeq ($(CONFIG_RUST),y) - RUSTDOC=3D"--rustdoc" + RUSTDOC=3D--rustdoc +endif endif =20 ifeq ($(HAVE_SPHINX),0) --=20 2.51.0