Received: by 2002:a89:2c3:0:b0:1ed:23cc:44d1 with SMTP id d3csp329618lqs; Tue, 5 Mar 2024 03:27:23 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVwWX27gW/KCVpDOmwMJaplG4JHA1x4TtW9DLvfD9BPy4+JLm34ZyHe5ckZAFOyIuYT/vS+h1ZM6K1fqfb/z1RVbCYrunenKRUhjsC+Og== X-Google-Smtp-Source: AGHT+IFSWIqq0TrXtrmFW6l8iyJTMFok0QaHzelQKMfDJlZRgakYcpGy9XqvjTqJw+mKqtCnFE9G X-Received: by 2002:a17:90a:8a0e:b0:29a:a08d:4809 with SMTP id w14-20020a17090a8a0e00b0029aa08d4809mr9294562pjn.2.1709638042894; Tue, 05 Mar 2024 03:27:22 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709638042; cv=pass; d=google.com; s=arc-20160816; b=09LpUV47tKZWr4Pt/m4j+iLKo1y4h/1NgyorOKuDb9J/uP3CCYeGwzRiwBH/NZov3S Y2/xuKhT772DN6BURtbvksjMZESmiaP1pfFadtWAS1Jd0jtsgC3h0dYWw5ASO57Mj8fl VMrba1CEIKQ/HahiHCdJtnjrOdd97LxGcLxv14XMKfrU5+Ep2OtUBCIuSebnEPzTjnRx 0/fHboltFs5TF6d6/pbxSMsgkzba7VJsS1iA2WhNIvKe0/Z+0KdDx56WuFy+7NBFARLA oZMB62a7v439OaGYhMG+ebUbtAVt8P+uHnH/7nkZnkkFKGUGgPYjjN+csgAbCObxrxrL goaA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date; bh=xtISm0Z5C5GSK3a8VloumZ4aA+1uD6WNJU+it6M3HPw=; fh=kZ9+geh1nTxJspXkNuoiU+8IvhX2Da1a4qoLMnx51Bw=; b=t0dVn4Q0QnsUP5J/gxrhCj2CC/INU/yNJWXBN1NbZSvxSbWrbnhuD3NneNPlnwIzQH gDyMF7LU3E5xTILZWW2X8BsUlh08867wnBBmwxdQDBnn+Wi03SU/qJ6UQ9qrr3u4eOL1 3O/h1ewoE17U3mr6TfjVUxjKnnOgJgk2WRzpFvmXWhUe8YtukkDplE5dLu2j1JpVXTW0 +gPSc7FjAcXkAH+Rt9xMmnr7SiIB9TWS8T6fHD03Ah92fyBmdf+pMBmZKVpkkalH+FjN 2zXw/LB9H2zTYqh9/z+vMBVeICFEdqk4ui5GyixWYpL93lk7jLhTauYzcAavRuM6PNU6 PLcQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-92226-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-92226-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id ee15-20020a17090afc4f00b0029958f76832si10195864pjb.179.2024.03.05.03.27.22 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Mar 2024 03:27:22 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-92226-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-92226-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-92226-linux.lists.archive=gmail.com@vger.kernel.org" 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 61CB3B22A03 for ; Tue, 5 Mar 2024 11:11:06 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6B4D055798; Tue, 5 Mar 2024 11:10:27 +0000 (UTC) Received: from mail-lj1-f170.google.com (mail-lj1-f170.google.com [209.85.208.170]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3F78352F68; Tue, 5 Mar 2024 11:10:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.170 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709637026; cv=none; b=djY4dQree1sAVpjIpD9D/Ic93zyEVzz6sk34S+WqIkGjN4k3YjEadohA/uhbc0aQjBidsHa2EOnzfD4lxJC5TKAwoCH8O1hNQMyIuPCpHtnsK6z1l5OXDVaqSC/fESeHgstZC3pjLP20LjgFzhC7kCUQtts7RCGrwf5LHoHuVfk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709637026; c=relaxed/simple; bh=u8BWNCh08meOM1OtGC+9EsEpkY4nW8/MgqKpE/dlJEE=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=I4k4VtVrcKiqP80T0EwBAiEZ4anlHwDOBD8qp/jgB6t7/L6UQ/lUA++xB9RV1L1KZqxZo1yNiDW6hoBhjYwrTRyKXUv8iJdd30HD1aKrk+9R2C1RuoeycrOiE5mQJQBRfREit47Gqh3Ky6NScxE50tnM9J2QWNOIKkiny/YL4qI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=debian.org; spf=pass smtp.mailfrom=gmail.com; arc=none smtp.client-ip=209.85.208.170 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=debian.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-lj1-f170.google.com with SMTP id 38308e7fff4ca-2d109e82bd0so66704031fa.3; Tue, 05 Mar 2024 03:10:24 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709637023; x=1710241823; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=xtISm0Z5C5GSK3a8VloumZ4aA+1uD6WNJU+it6M3HPw=; b=W1mlUpH3P4rmcNZMHUguYG04uBOUVySTJxe2/Sy6v/VcKflRmEtaL471JQcQacRE6N 6+8dVnbHGaQWyfNaW4D6JLk8bJAaiBL1lgXBnNU49AUwaZr2lWa7Pdfxaompo1IT3Ti8 rDDEdL4t+G9A5+aSt/eZEF0hFN88AXPb2dd4+iJwjZwft6aaamMvylSbpghjtugsa57w GjnVFXjAEcOst9E1TFBNT8a/6MhKhHOP2BEZL+hCVlosx9rihLWrIWqN5cRvopIHQKCZ FT+4D/4CSIR6wvFFBMyBhHx7FIxgDem/gpLAJsplx1ykDbgdzPccEqbBMSLRsY6wduFl btOw== X-Forwarded-Encrypted: i=1; AJvYcCVTQAa2zpB4HVy8BJPN+3F8kGlZt5kFjbRVoKC2Nz8DXNijN4AzIvWgT65NyKfvod9csZVty5d6F2p+eipRhfWgFmxsPOH9wYF0qQ5JxCsFbgm2IdzToo3p/EeqUFZycF9vdLjNPMXZLtpeFujDFhDv8qiissJKA3T0ZZRErTOY X-Gm-Message-State: AOJu0YyEsS7qnWmgjvD2vAyrUclnXuuNDGo9ZoornJXNPQwwpLOAv8Hw Sw9s0FiLOspvX2yItydf8EyVVxCZOhnXBW4KiS12yfHTDTR6eOMd X-Received: by 2002:a2e:980c:0:b0:2d2:c82c:b822 with SMTP id a12-20020a2e980c000000b002d2c82cb822mr981535ljj.22.1709637023131; Tue, 05 Mar 2024 03:10:23 -0800 (PST) Received: from gmail.com (fwdproxy-lla-006.fbsv.net. [2a03:2880:30ff:6::face:b00c]) by smtp.gmail.com with ESMTPSA id i17-20020aa7c9d1000000b00567566227a5sm2016306edt.18.2024.03.05.03.10.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Mar 2024 03:10:22 -0800 (PST) Date: Tue, 5 Mar 2024 03:10:20 -0800 From: Breno Leitao To: Akira Yokosawa Cc: Jonathan Corbet , linux-doc@vger.kernel.org, Thorsten Blum , Jakub Kicinski , "David S. Miller" , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Vegard Nossum , Jani Nikula Subject: Re: [PATCH] docs: Makefile: Add dependency to $(YNL_INDEX) for targets other than htmldocs Message-ID: References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: On Tue, Mar 05, 2024 at 01:23:00PM +0900, Akira Yokosawa wrote: > 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 Reviwed-by: Breno Leitao