Received: by 2002:a89:2c3:0:b0:1ed:23cc:44d1 with SMTP id d3csp606954lqs; Tue, 5 Mar 2024 10:47:55 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVrxOOZHCeMLlzHH1P5bqWq82nFmehn53Pw51a0j0J2CTI3Pig6zWbtNfBJwvAxgSqzs/XwmGtscWhRDXja3PnSXREgmSA1jyOXoe5TRQ== X-Google-Smtp-Source: AGHT+IFYsX7cQ7LVdczcljQVlQs2FGauCfPykLfZFeUFzO6CnQ05tXmplwxbQquzLIROprAzfdeQ X-Received: by 2002:a17:902:6544:b0:1dc:69ab:7dc0 with SMTP id d4-20020a170902654400b001dc69ab7dc0mr2296867pln.27.1709664475386; Tue, 05 Mar 2024 10:47:55 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709664475; cv=pass; d=google.com; s=arc-20160816; b=aaDszQhCQwvDwiiIX8Gx6bd2FwZFGcLc3M46s15QGtte35WOLZOI4tcGNLZ3eRCVOm okyKafNcvASkalgR7AGe9KeAx5A1s5uQNgca7ErfGB4iX6SXp32ZIzYGP5uRn0jh8Oej +jU+oLcttJaUssZkFLJa6MtGrl819aAWoHzwWsBhkNgCmXNbvsLnoLxRu+LwRx11Vz9u 4wKsheY7Gx93KQ6Z8+i/Uhflcloq9gJmtkXJ4+hEiZKnGUgcQ1U8JCC6zavirdY0Csxy WiQvMtVT1w0gjR6PGmjyoAYEX64Tp+sUZUaIT+pw0+FBRkETLmr/g4ZmFU/3Ly29jAIt LIeg== 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=nyMT7rStgBuYBzRKmK59qF223blmDdW15jaZoF38aRo=; fh=9Btu4MdblcB8W3cuw2LpCnUSLCbtu35UIHkbW8qmKmk=; b=OHkNlf41wdaDtwEXpcx2MsDMtqL1BjeivyD28T/hFDEWUMbL4JVkgOk8ldCJOeStDP iBATq6yMIJC0NSwQXPX7W33Ok4YAKumWCbIlZ+S8nHzq0hazDde8Rv8Cp2cz23hvaDiW yp9EovUKpGK9UhbyFddN668hHYE0t6EhQuajc1WxftXIAuYnu77kVGNuc3YGXrMLDIwe IxwYX94Do/+1iWfqANqavF/EkwGvpMPGHKbX6BmNIQcif7SfWXYSSnd9dp2RqXJ+VJeS jzTvq0W34EoEjiGtBeEFpw8jRDyoha8sLsG2aJ/IPqun0wVdaLHUt+HnTWpxjBsgTYI2 8f2Q==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@lwn.net header.s=20201203 header.b=p2dBZ8Lc; 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-92811-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-92811-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=lwn.net Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id ma6-20020a170903094600b001dd08204dd0si4720241plb.243.2024.03.05.10.47.54 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Mar 2024 10:47:55 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-92811-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@lwn.net header.s=20201203 header.b=p2dBZ8Lc; 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-92811-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-92811-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id CF2A1B28AB8 for ; Tue, 5 Mar 2024 18:07:39 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id DBF7018638; Tue, 5 Mar 2024 18:07:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=lwn.net header.i=@lwn.net header.b="p2dBZ8Lc" 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 36F6717BCF; Tue, 5 Mar 2024 18:07:23 +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=1709662047; cv=none; b=RIBaPlCQrPV3qXezh3FCWoIBlFghZ05qIMUTT6DaufOXfSdG9vhXL0DH4MmgWw3HpIUpDJJECc3YGKDhO7tLWV9L2+rJLne9hie3bwlhF5LVHTIZxDMqZ9gS/LULmSNumY0aVStAuibqxVG89zzcolb2OiBQPQL7cpMdapgVEHY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709662047; c=relaxed/simple; bh=fRvH1A39coLysQaU+TJosea83wCh3mMgVlbTiDxoJ98=; h=From:To:Cc:Subject:In-Reply-To:References:Date:Message-ID: MIME-Version:Content-Type; b=HaQwHzE+jHW/ugC1YK8jfipRBiU8A4ClG02J1jWBoYhzLFVEQru+JXNHBD/zAna9ctAsF/s2zSZWneOl1dQPuTjJpm8bg/mlQ+LJ/zDGhvO2OhBnBmJWnDxXtzEhjuUmeeA1+mJss+ajpCnbwk0YzwH6mmBwLke1S4LMwQHP8mY= 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=p2dBZ8Lc; 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 EF8DB418C2 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lwn.net; s=20201203; t=1709662043; bh=nyMT7rStgBuYBzRKmK59qF223blmDdW15jaZoF38aRo=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=p2dBZ8Lc8H+HbEHG1zfkxyu0zmQREynqVsaVx+w4XYQvPeB29ZRk/bNVCSy6xfhVI glaT7q/L8zzhDknyHqM2osy3F1CnbbyH6e1z+RDDheHZIpP44D/ugjWoV5OCbcRZ4s ULX/CmcRl4VwPaBeCYUmHRMV+uitORnqfcpVZeokoeJoxwM8EtHromj1LjuvUMH4gw ahLnUGFmyYX8dRDZqeiE5eNcr0wGa/xPzz0CVA8xiKVRn3w+cURJAihw89t7g+aCAy eMR6EzSyDQGWhxA8gGr48FbZGUwLLrl4U8mgM9cgGbUzIXtRZeBjw3ePDwLW25T4OJ nsV/E8jtLy+UQ== Received: from localhost (mdns.lwn.net [45.79.72.68]) (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 EF8DB418C2; Tue, 5 Mar 2024 18:07:22 +0000 (UTC) From: Jonathan Corbet To: Akira Yokosawa , linux-doc@vger.kernel.org Cc: Thorsten Blum , Breno Leitao , Jakub Kicinski , "David S. Miller" , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Vegard Nossum , Jani Nikula , Akira Yokosawa Subject: Re: [PATCH] docs: Makefile: Add dependency to $(YNL_INDEX) for targets other than htmldocs In-Reply-To: References: Date: Tue, 05 Mar 2024 11:07:22 -0700 Message-ID: <878r2wo8md.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 Akira Yokosawa writes: > Commit f061c9f7d058 ("Documentation: Document each netlink family") > added recipes for YAML -> RST conversion. > Then commit 7da8bdbf8f5d ("docs: Makefile: Fix make cleandocs by > deleting generated .rst files") made sure those converted .rst files > are cleaned by "make cleandocs". > > However, they took care of htmldocs build only. > > If one of other targets such as latexdocs or epubdocs is built > without building htmldocs, missing .rst files can cause additional > WARNINGs from sphinx-build as follow: > > ./Documentation/userspace-api/netlink/specs.rst:18: WARNING: undefined label: 'specs' > ./Documentation/userspace-api/netlink/netlink-raw.rst:64: WARNING: unknown document: '../../networking/netlink_spec/rt_link' > ./Documentation/userspace-api/netlink/netlink-raw.rst:64: WARNING: unknown document: '../../networking/netlink_spec/tc' > ./Documentation/userspace-api/netlink/index.rst:21: WARNING: undefined label: 'specs' > > Add dependency to $(YNL_INDEX) for other targets and allow any targets > to be built cleanly right after "make cleandocs". > > Signed-off-by: Akira Yokosawa > Cc: stable@vger.kernel.org # v6.7 > Cc: Thorsten Blum > Cc: Breno Leitao > Cc: Jakub Kicinski > Cc: David S. Miller > --- > Hi, > > While the first offending commit went through the -net tree, > I'd like Jon to pick this up provided there is no objection from > Jakub or davem. Applied, thanks. jon