From nobody Fri Nov 14 00:53:35 2025 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=none dis=none) header.from=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1583516376; cv=none; d=zohomail.com; s=zohoarc; b=TgIlFLQw5f7eCyAm7FIcWNJa2SbClTyhhiKxWOfmUM4BgZXBWRwZZaU0lFfAWxamhef22XsZhQGqnU8/oo0DJT/NKu2k4CWS2/mcatQK/cyfPDn91+78m/GKKyGJ4Svcw35q3lCjxtPyv2dFi8kqHhMxcaW+mMh1CCBBuIqERAs= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1583516376; h=Content-Transfer-Encoding:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=0JgH8pZ7q1+DouQJLOPehKM2GAK95/4SWSv6MZSVrXk=; b=hFBi/sdMdS8cue57pG9GKlGtIkVawGKej9a1Se6gN9WyBL4YSZLMGNVuUdHY2HKUs35/EqoSswhR6ZJnadcx1bEgyA2J3rixV9LN4yq26pbbIGnkxKUuyqkeA2wYFUSQhyG4CDgHOGr419akdyeq7/gGeZN1DKPhSlEo5wHZD68= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1583516376905962.9543975873402; Fri, 6 Mar 2020 09:39:36 -0800 (PST) Received: from localhost ([::1]:40300 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jAGwh-0003nS-KG for importer@patchew.org; Fri, 06 Mar 2020 12:39:35 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:50806) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jAGbo-0000d4-P3 for qemu-devel@nongnu.org; Fri, 06 Mar 2020 12:18:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jAGbm-00080h-A1 for qemu-devel@nongnu.org; Fri, 06 Mar 2020 12:18:00 -0500 Received: from mail-wm1-x330.google.com ([2a00:1450:4864:20::330]:36181) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jAGbm-0007we-3H for qemu-devel@nongnu.org; Fri, 06 Mar 2020 12:17:58 -0500 Received: by mail-wm1-x330.google.com with SMTP id i14so3195043wmb.1 for ; Fri, 06 Mar 2020 09:17:57 -0800 (PST) Received: from orth.archaic.org.uk (orth.archaic.org.uk. [81.2.115.148]) by smtp.gmail.com with ESMTPSA id f8sm6948346wmf.20.2020.03.06.09.17.55 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 06 Mar 2020 09:17:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; bh=0JgH8pZ7q1+DouQJLOPehKM2GAK95/4SWSv6MZSVrXk=; b=mZuY0QtEZh9y3+nkQokCCXg64VJR6qvzj84bSPLRMeB6aUxaHpQXPzUVoBd6f7j5iw 9lz9DJvan7ytrBmEIhJg2y2UFRj5PNA3ULcuAcee84ZATAqN1X6BGq2G4hmJdUnVa1wo Oy9KYgzLuqaB2+717SQWtYZdJze5TRccU6WBLHtzjo1khe8LYRrF6mahgscHMWEghU+8 LsVpaBO5bY2ESXo293RJ1BS87F9lt6XGe86aGY0dZ4C1U76MU26tnU097NGxUUFlWZZ0 6VcAHK5wBSSAMd3YLdw5NmXBGhsvLFfyPjYqpFoexxyzGltNj0jRSKjYeCJTo0bEWB/F HNRA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=0JgH8pZ7q1+DouQJLOPehKM2GAK95/4SWSv6MZSVrXk=; b=jpNBTEutU1JfxZ44AtqlGhwws+xYiK0VG+HKXJhkeStNsUvSI1MDsj4w4Gb8jd3UqE aX405TLO64hvXZNN/L7FvZ1hu9coC4N4CPO2rwIoScC4eSO1gLmsEDO0FuQdTFViVNLr VLvLChY4N7zph9yiIRfE9B2V52f6x17Eh6nTaWkvyhtnTnVl4e4QBm7WFM7IydR6d+PC 0UaIh0wI6fv1tVEX8zvkBIVi997d+XrrTNv3BZRMYXUVmONaCqcUKM5ux507ap4qIMKy 3oy7qFmQcE8exnjFdkwmKRH3eamhP0cXGdk1ZZh1mk7w3JESGS21YnSYfW57NQ14nJQb 7HAA== X-Gm-Message-State: ANhLgQ0S/GaYCMsznKWuzQl2lV1Ko9PpPg6bx5blKfusVK00yB5L86RJ WjjzWn/qBYeGMw54IF+C4rvQDNivHVG/2A== X-Google-Smtp-Source: ADFU+vt6mu3aHd96kcp5A19LPaZopY99eSpFT9JzzALHwQLGg3+fIQF08g7FU4QiLdqpNnPAl2xg2g== X-Received: by 2002:a1c:9e51:: with SMTP id h78mr4810124wme.44.1583515076692; Fri, 06 Mar 2020 09:17:56 -0800 (PST) From: Peter Maydell To: qemu-devel@nongnu.org Subject: [PATCH 5/7] Makefile: Make all Sphinx documentation depend on the extensions Date: Fri, 6 Mar 2020 17:17:47 +0000 Message-Id: <20200306171749.10756-6-peter.maydell@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200306171749.10756-1-peter.maydell@linaro.org> References: <20200306171749.10756-1-peter.maydell@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::330 X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: pass (identity @linaro.org) Content-Type: text/plain; charset="utf-8" Add the Python source files of our Sphinx extensions to the dependencies of the Sphinx manuals, so that if we edit the extension source code the manuals get rebuilt. Adding this dependency unconditionally means that we'll rebuild a manual even if it happens to not use the extension whose source file was changed, but this is simpler and less error prone, and it's unlikely that we'll be making frequent changes to the extensions. Signed-off-by: Peter Maydell --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 2ccd80065b6..5847f8d41d9 100644 --- a/Makefile +++ b/Makefile @@ -1046,7 +1046,8 @@ build-manual =3D $(call quiet-command,CONFDIR=3D"$(qe= mu_confdir)" $(SPHINX_BUILD) $( # We assume all RST files in the manual's directory are used in it manual-deps =3D $(wildcard $(SRC_PATH)/docs/$1/*.rst) \ $(SRC_PATH)/docs/defs.rst.inc \ - $(SRC_PATH)/docs/$1/conf.py $(SRC_PATH)/docs/conf.py + $(SRC_PATH)/docs/$1/conf.py $(SRC_PATH)/docs/conf.py \ + $(SRC_PATH)/docs/sphinx/*.py # Macro to write out the rule and dependencies for building manpages # Usage: $(call define-manpage-rule,manualname,manpage1 manpage2...[,extra= deps]) # 'extradeps' is optional, and specifies extra files (eg .hx files) that --=20 2.20.1