From nobody Wed Feb 11 02:06:24 2026 Delivered-To: importer@patchew.org Received-SPF: none (zohomail.com: 8.43.85.245 is neither permitted nor denied by domain of lists.libvirt.org) client-ip=8.43.85.245; envelope-from=devel-bounces@lists.libvirt.org; helo=lists.libvirt.org; Authentication-Results: mx.zohomail.com; spf=none (zohomail.com: 8.43.85.245 is neither permitted nor denied by domain of lists.libvirt.org) smtp.mailfrom=devel-bounces@lists.libvirt.org; dmarc=fail(p=none dis=none) header.from=redhat.com Return-Path: Received: from lists.libvirt.org (lists.libvirt.org [8.43.85.245]) by mx.zohomail.com with SMTPS id 1715090686131484.29837307710716; Tue, 7 May 2024 07:04:46 -0700 (PDT) Received: by lists.libvirt.org (Postfix, from userid 996) id 8F9D81DC1; Tue, 7 May 2024 10:04:44 -0400 (EDT) Received: from lists.libvirt.org (localhost [IPv6:::1]) by lists.libvirt.org (Postfix) with ESMTP id C696F1D4B; Tue, 7 May 2024 09:59:35 -0400 (EDT) Received: by lists.libvirt.org (Postfix, from userid 996) id 3C7A11AD7; Tue, 7 May 2024 09:59:15 -0400 (EDT) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by lists.libvirt.org (Postfix) with ESMTPS id B33051ACB for ; Tue, 7 May 2024 09:59:14 -0400 (EDT) Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-619-7YXGr6eIM1CBAipwzi96EA-1; Tue, 07 May 2024 09:59:12 -0400 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.rdu2.redhat.com [10.11.54.7]) (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 mimecast-mx02.redhat.com (Postfix) with ESMTPS id 6FC0A801189 for ; Tue, 7 May 2024 13:59:12 +0000 (UTC) Received: from toolbox.redhat.com (unknown [10.42.28.138]) by smtp.corp.redhat.com (Postfix) with ESMTP id CC1BF1C060AE; Tue, 7 May 2024 13:59:11 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on lists.libvirt.org X-Spam-Level: X-Spam-Status: No, score=-0.7 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H4, RCVD_IN_MSPIKE_WL,SPF_HELO_NONE autolearn=unavailable autolearn_force=no version=3.4.4 X-MC-Unique: 7YXGr6eIM1CBAipwzi96EA-1 From: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= To: devel@lists.libvirt.org Cc: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= Subject: [PATCH 04/12] docs: ensure HTML/images are built before running reference tests Date: Tue, 7 May 2024 14:58:59 +0100 Message-ID: <20240507135907.1104087-5-berrange@redhat.com> In-Reply-To: <20240507135907.1104087-1-berrange@redhat.com> References: <20240507135907.1104087-1-berrange@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.4.1 on 10.11.54.7 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Message-ID-Hash: EIB25ODR6P4VQCHXUUWEG7CWSXFQ2QPY X-Message-ID-Hash: EIB25ODR6P4VQCHXUUWEG7CWSXFQ2QPY X-MailFrom: berrange@redhat.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-config-1; header-match-config-2; header-match-config-3; header-match-devel.lists.libvirt.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; suspicious-header X-Mailman-Version: 3.2.2 Precedence: list List-Id: Development discussions about the libvirt library & tools Archived-At: List-Archive: List-Help: List-Post: List-Subscribe: List-Unsubscribe: Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-ZM-MESSAGEID: 1715090688216100001 The 'check-html-references' test will process the built HTML files, so they must exist before it is run, along with any images that they point to. Signed-off-by: Daniel P. Berrang=C3=A9 --- docs/images/meson.build | 5 +++-- docs/logos/meson.build | 5 +++-- docs/meson.build | 1 + 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/docs/images/meson.build b/docs/images/meson.build index b9ab30fc91..cccd351f05 100644 --- a/docs/images/meson.build +++ b/docs/images/meson.build @@ -18,10 +18,11 @@ foreach file : docs_image_files # This hack enables us to view the web pages # from within the uninstalled build tree if meson.version().version_compare('>=3D0.64.0') - fs.copyfile(file) + imgfile =3D fs.copyfile(file) else - configure_file(input: file, output: file, copy: true) + imgfile =3D configure_file(input: file, output: file, copy: true) endif =20 + install_web_deps +=3D [imgfile] install_web_files +=3D '@0@:@1@'.format(meson.current_source_dir() / fil= e, docs_html_dir / 'images') endforeach diff --git a/docs/logos/meson.build b/docs/logos/meson.build index c3f4c9f522..b4ea070a34 100644 --- a/docs/logos/meson.build +++ b/docs/logos/meson.build @@ -26,11 +26,12 @@ foreach file : docs_logo_files # This hack enables us to view the web pages # from within the uninstalled build tree if meson.version().version_compare('>=3D0.64.0') - fs.copyfile(file) + logofile =3D fs.copyfile(file) else - configure_file(input: file, output: file, copy: true) + logofile =3D configure_file(input: file, output: file, copy: true) endif =20 + install_web_deps +=3D [logofile] install_web_files +=3D '@0@:@1@'.format(meson.current_source_dir() / fil= e, docs_html_dir / 'logos') endforeach =20 diff --git a/docs/meson.build b/docs/meson.build index 87d728213c..2dfe98ef62 100644 --- a/docs/meson.build +++ b/docs/meson.build @@ -360,6 +360,7 @@ if tests_enabled[0] '--webroot', meson.project_build_root() / 'docs' ], + depends: install_web_deps, env: runutf8, suite: 'script' ) --=20 2.43.0 _______________________________________________ Devel mailing list -- devel@lists.libvirt.org To unsubscribe send an email to devel-leave@lists.libvirt.org