From nobody Sun Nov 9 21:48:06 2025 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.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=fail; spf=pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=linaro.org Return-Path: Received: from lists.gnu.org (209.51.188.17 [209.51.188.17]) by mx.zohomail.com with SMTPS id 1552053664260998.902747717024; Fri, 8 Mar 2019 06:01:04 -0800 (PST) Received: from localhost ([127.0.0.1]:44167 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h2G3U-0006Sx-Vp for importer@patchew.org; Fri, 08 Mar 2019 09:00:57 -0500 Received: from eggs.gnu.org ([209.51.188.92]:47798) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h2G0Z-0004Pe-Cm for qemu-devel@nongnu.org; Fri, 08 Mar 2019 08:57:57 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1h2G0Y-0002sZ-Jc for qemu-devel@nongnu.org; Fri, 08 Mar 2019 08:57:55 -0500 Received: from mail-wr1-x441.google.com ([2a00:1450:4864:20::441]:36849) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1h2G0Y-0002bF-CO for qemu-devel@nongnu.org; Fri, 08 Mar 2019 08:57:54 -0500 Received: by mail-wr1-x441.google.com with SMTP id o17so21480640wrw.3 for ; Fri, 08 Mar 2019 05:57:51 -0800 (PST) Received: from orth.archaic.org.uk (orth.archaic.org.uk. [81.2.115.148]) by smtp.gmail.com with ESMTPSA id o12sm13488539wrx.53.2019.03.08.05.57.48 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 08 Mar 2019 05:57:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=HMdIIL9N10bCjfV53ccNATyrVd9+H+BfOKUx2mDzRRQ=; b=tfrh9HzzJVyg4RBupQJg1/sf6SIS5rJwRP9rcOzLxCucP1pzxr/6odrQ23tmu0LG3N cGvh8dBxdCWkQm+JUTm8KBfmzY4Ji2Nc2KD5A6APM4asN5QAydDhqFVO9V8AhLM1KNp3 yNP6P4dKgObOP+B+GgsG63WlquSNeG+rGkSVG1C7i9lnXEiOIZ/LZp7i0dYdpFiaY82s kC4GBUDQzCvqwLlahwEIZZEqg69uXp/JzI8Uo3sUs6wgw43AA8fZG71u5VGp5X+gQA8k ctykJ+lqQju91PxH/I0ZeFQLtuTOpkfPzTlaz+bzoLRx4qqvF8DAtFY5kiPGIHl18by5 /93A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=HMdIIL9N10bCjfV53ccNATyrVd9+H+BfOKUx2mDzRRQ=; b=Ja2q7dtq4eD5144dXU22+5c6PM3VAMhW6y6n6Wwx/VXPKgMnVmVKjvGdnNAGz70zNV Zz9HQ+L+XnRqy7sAT2HbJP21m62J8qbjVFnjJrPl14et2g+GmaSNn9Zsi5Xju/syVWv2 zY2cNbBSW0xhK2BtnKBFAp4MX9/KHSheQlAFJ43bySIEhdpgiCq1fLm0rbFkoClMH6Ot F3UKGpr89M5Db+k6JiahTLYhXdS1oApLPSPAN93pxCNXOQNgRpPFXPc0z88NyQNHjnJX ibDbloyCBORa/IGgNAOUy15XnxKwonKSkzN+yPpdYn/duat152cX7wOpAhDu+zs5nOmj SDIg== X-Gm-Message-State: APjAAAVI6uRFVsNbtgqILYf0Lh9wdN+UxaV9owXAhWOHP1du4OO+Wa4I SubIsofFMJhvXoe08GBN3Iq9A45CoEg= X-Google-Smtp-Source: APXvYqxJdAdbOvwNGpE/4OEeDE6Y6xDsepwtkkMfm6AnOcf9TwlBsAaqnXZbya1sQkTzZ23lZMwE+w== X-Received: by 2002:adf:ee4d:: with SMTP id w13mr11278240wro.16.1552053469976; Fri, 08 Mar 2019 05:57:49 -0800 (PST) From: Peter Maydell To: qemu-devel@nongnu.org Date: Fri, 8 Mar 2019 13:57:44 +0000 Message-Id: <20190308135744.6480-4-peter.maydell@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190308135744.6480-1-peter.maydell@linaro.org> References: <20190308135744.6480-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::441 Subject: [Qemu-devel] [PATCH 3/3] Makefile: Don't install non-sphinx files in sphinx docs install X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , patches@linaro.org Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) Content-Type: text/plain; charset="utf-8" If we're doing an out-of-tree build of Sphinx, then we copy some extra spurious files to the install directory as part of 'make install': qemu-ga-qapi.texi qemu-ga-ref.7 qemu-ga-ref.7.pod qemu-ga-ref.html qemu-ga-ref.txt qemu-qmp-qapi.texi qemu-qmp-ref.7 qemu-qmp-ref.7.pod qemu-qmp-ref.html qemu-qmp-ref.txt because these have been built into build/docs/interop along with the Sphinx interop documents. Filter them out of the set of files we install when we're installing the Sphinx-built manual files. (They are installed into their correct locations as part of the main install-doc target already.) Fixes: 5f71eac06e15b9a3fa1134d446f ("Makefile, configure: Support building = rST documentation") Signed-off-by: Peter Maydell Reviewed-by: Philippe Mathieu-Daud=C3=A9 Tested-by: Philippe Mathieu-Daud=C3=A9 --- Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 9fd7f3f9bfb..6ccb8639b08 100644 --- a/Makefile +++ b/Makefile @@ -727,9 +727,11 @@ else BLOBS=3D endif =20 +# Note that we manually filter-out the non-Sphinx documentation which +# is currently built into the docs/interop directory in the build tree. define install-manual =3D for d in $$(cd $(MANUAL_BUILDDIR) && find $1 -type d); do $(INSTALL_DIR) "= $(DESTDIR)$(qemu_docdir)/$$d"; done -for f in $$(cd $(MANUAL_BUILDDIR) && find $1 -type f); do $(INSTALL_DATA) = "$(MANUAL_BUILDDIR)/$$f" "$(DESTDIR)$(qemu_docdir)/$$f"; done +for f in $$(cd $(MANUAL_BUILDDIR) && find $1 -type f -a '!' '(' -name 'qem= u-*-qapi.*' -o -name 'qemu-*-ref.*' ')' ); do $(INSTALL_DATA) "$(MANUAL_BUI= LDDIR)/$$f" "$(DESTDIR)$(qemu_docdir)/$$f"; done endef =20 # Note that we deliberately do not install the "devel" manual: it is --=20 2.20.1