Received: by 2002:a05:7412:3b8b:b0:fc:a2b0:25d7 with SMTP id nd11csp580662rdb; Thu, 8 Feb 2024 14:52:25 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUljkxuQvy5J4AYr5Gjq+pdNkeNtviurfLefLlEDVOCNP0YheAAbt5oJlCbVUrHZ2A2SjGCsqtrromo7Z8L8C1Bc/QmPCpEBrhb+YpHbQ== X-Google-Smtp-Source: AGHT+IFPnTggvmnMeFAyTzIkhx4V7QfUTXQ/NbdRbPgd62F6XrhxOo738nUPT3R+tynFktOW7FRK X-Received: by 2002:a05:6870:b69d:b0:219:6e95:ba2 with SMTP id cy29-20020a056870b69d00b002196e950ba2mr1165595oab.13.1707432745359; Thu, 08 Feb 2024 14:52:25 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707432745; cv=pass; d=google.com; s=arc-20160816; b=Hd6VcG8s95VuJNKSrUu+/FK9MJmHWSMUkJhAlwn326oPXR5X0O2ZHYriGpwlwJgF5u h0wi6eIgStT96AjDXrp63biEdXEyT4/NVKDInwQOTaRa76BV3zKOP+42GGbBABIIFPWJ 3WjdpCtwppTZpSJupsFhqeyG9myGHuU2Oge1mMwdS3C+IIKZ5SVhsvyb3s/+Ava5EUDU nIteytutjNmR4URhy3d/lKVY++Sdcz1dqc+LEwSa6NSezs8bINkzGiSO3395bOpBZ+iQ U2l6Qvd9b99EcushEKzbvbgxsh4MuiUK4zJIx/0X/JLpuVPZu8uSCgDqPEcpf2gUjaZi y1PA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :message-id:date:references:in-reply-to:subject:cc:to:from :dkim-signature:dkim-filter; bh=3TgYkOcRC2sSgpj6cJafcSQeo2zp3995bRHryh4idG8=; fh=iBaRywG78r32ISys3aHnNTM+aYJ04H9D9JQn3/d2M/U=; b=JsUE4wwyCWtQbqn2hojOayO4AVCc8kLNCC0B/+HvkL3FxkKSuvoRDwVkWWbvP8t475 hKiZCrRVdp8MYQB9C77Qja06mlA7LBCRIMKa5Ok1PD0+N3twNYS5lu0889tQ70WF1axP RD381BrQ9htGVeqDEohkYkerDRQ4TbvH9AtVkdBOJXT6RnG77UqAAurNHX/vfJEC5MWY VWFoHy553pUn4igLcZGR26JjU1+Ov/u020IxKCoM0QIPDNFKEdHIfAigtwv8ua9MX9MN 59HngrEzEKwCpexiM+OfTeDMnniXzcF8nj7KrFXC8k6XDj21yUkIz6dvLuKBYyLwYPQJ cnMg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@lwn.net header.s=20201203 header.b=FErf5knS; arc=pass (i=1 spf=pass spfdomain=lwn.net dkim=pass dkdomain=lwn.net dmarc=pass fromdomain=lwn.net); spf=pass (google.com: domain of linux-kernel+bounces-58797-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-58797-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=lwn.net X-Forwarded-Encrypted: i=2; AJvYcCUGhnJgGhY6aJMCCqd0mD1rofLU5Q+YYErp/4Jvxiff78TszKhJiJH33wD/iOa4cVngcpG2jcPfKXZjzaTNxUQ1ye4wvq9OczR159E27g== Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id b11-20020a6567cb000000b005b92edaa151si573058pgs.739.2024.02.08.14.52.25 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 08 Feb 2024 14:52:25 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-58797-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@lwn.net header.s=20201203 header.b=FErf5knS; arc=pass (i=1 spf=pass spfdomain=lwn.net dkim=pass dkdomain=lwn.net dmarc=pass fromdomain=lwn.net); spf=pass (google.com: domain of linux-kernel+bounces-58797-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-58797-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=lwn.net Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 0198C286BE2 for ; Thu, 8 Feb 2024 22:52:19 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6DA5D50260; Thu, 8 Feb 2024 22:52:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=lwn.net header.i=@lwn.net header.b="FErf5knS" Received: from ms.lwn.net (ms.lwn.net [45.79.88.28]) (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 363C950253; Thu, 8 Feb 2024 22:52:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=45.79.88.28 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707432731; cv=none; b=pSFz2Dm7Tcg4jkCW0qWLu19KiQS8/fANJTk/lJ4dpcSb7bn1VaOLdaZcdY5UnakNd2bvVUN5Lu5j7B9F07qj4MmkWd2xPj1e3EBgJBY8vQPjN9zJXX1uEf/tXe+sHiAlyXerlaHfd1o8ltzVDGaPrCewu67U244ETH1PHCByKiI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707432731; c=relaxed/simple; bh=FXldPRMidLA55x+Hx/mIMRwupZQ/ec2lSqkWMdAcMXg=; h=From:To:Cc:Subject:In-Reply-To:References:Date:Message-ID: MIME-Version:Content-Type; b=Alr6Xu+1PsN2rScdGykD8Oju5kOo7MT8CErCJZuzC08tIpInt87uK8r+jNkuT5cr6k+iShNFRAszSgoVCryWULq9ndpET+IrE5WsBE9++uajsCGv4NQmeFEI/qvBPawCfMsRVyfky/wPTXHGw6u2PCwl1IHz3J30Z52tGHQHhzU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=lwn.net; spf=pass smtp.mailfrom=lwn.net; dkim=pass (2048-bit key) header.d=lwn.net header.i=@lwn.net header.b=FErf5knS; arc=none smtp.client-ip=45.79.88.28 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=lwn.net Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=lwn.net DKIM-Filter: OpenDKIM Filter v2.11.0 ms.lwn.net 8B37545917 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lwn.net; s=20201203; t=1707432729; bh=3TgYkOcRC2sSgpj6cJafcSQeo2zp3995bRHryh4idG8=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=FErf5knSwzEnT4RPdR6837+qZGmBdLkKqgWLqoQGTzLUOMKQHFlQB3jfvtEfBI9Yh oxwSDDqUPq850t93+eCkhKymFHjQchhZAsNDmLUw4383x5ProoDVQ3phOaGc4lIHCR dudUtgm7kOpyBYdHsqK109HN5k3Jm5j4mCjQT9XwXy9oSTuphvIa0yRK+7XtNX/nOQ a0o3TiX/rCNNjBBBoUYIhKsJEzGlRX64RcVis7T5BvttIzCAmqTq8jASNqVuIokd58 DSV2TbRoRWZY1STOF0JRGzc5hbECIr23sA6zgsYW6fMHe74d5ZmuMaxDfN5AfSPxN2 YnqPp/CArr34w== Received: from localhost (unknown [IPv6:2601:280:5e00:625::646]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ms.lwn.net (Postfix) with ESMTPSA id 8B37545917; Thu, 8 Feb 2024 22:52:09 +0000 (UTC) From: Jonathan Corbet To: Thorsten Blum Cc: linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, Thorsten Blum , Vegard Nossum , Breno Leitao Subject: Re: [PATCH] docs: Makefile: Fix make cleandocs by deleting generated .rst files In-Reply-To: <20240208145001.61769-1-thorsten.blum@toblux.com> References: <20240208145001.61769-1-thorsten.blum@toblux.com> Date: Thu, 08 Feb 2024 15:52:08 -0700 Message-ID: <87a5oafu1z.fsf@meer.lwn.net> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain Thorsten Blum writes: > The script tools/net/ynl/ynl-gen-rst.py (YNL_TOOL) generates several .rst > files (YNL_INDEX, YNL_RST_FILES) in Documentation/networking/netlink_spec > (YNL_RST_DIR) which are not deleted by make cleandocs. > > Fix make cleandocs by deleting the generated .rst files. > > Signed-off-by: Thorsten Blum > --- > Documentation/Makefile | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/Documentation/Makefile b/Documentation/Makefile > index 3885bbe260eb..4479910166fc 100644 > --- a/Documentation/Makefile > +++ b/Documentation/Makefile > @@ -176,6 +176,7 @@ refcheckdocs: > $(Q)cd $(srctree);scripts/documentation-file-ref-check > > cleandocs: > + $(Q)rm -f $(YNL_INDEX) $(YNL_RST_FILES) > $(Q)rm -rf $(BUILDDIR) > $(Q)$(MAKE) BUILDDIR=$(abspath $(BUILDDIR)) $(build)=Documentation/userspace-api/media clean So this seems worth doing ... except that there has been talk about not depositing those files into the source tree in the first place. Adding Vegard and Breno to see if they have any thoughts on the matter... Thanks, jon