From nobody Sun Feb 8 12:42:50 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 207.211.31.81 as permitted sender) client-ip=207.211.31.81; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-delivery-1.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 207.211.31.81 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1594894513; cv=none; d=zohomail.com; s=zohoarc; b=G7zohCbfwDM9Ccd/LCXNVjQLOUrqf7FS29GgoMDOreZy+RLZb7NyTmB8kRkV4KNuVfEVsUVPTkO7jEl5XgMkaqweJGrEZxu2oJp+SmY+v+Iva5xUW0snld/j1eandK009DbzkUtKHXlzb0lz3hTSDcvx16ZwGGUw3p1XCzs29/M= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1594894513; h=Content-Type: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=tkugmXlgdN55r2b0MJj3BCAlmBeDyDKUnIjZg5+sqyY=; b=Sc+pZgT//+oQzIJhoAgimp6swe0hiqM7KMBEXvZ7J/JGJ11iu4/Og5Z6muidxmSuk+xoMCvZjO+HbYgSp5cvriTvH5juudjfJlw1B6+dlT2ZK3jnxVbPiaMLNdOSAQnnLmergPRzLXKYZkYYsdjeXCm9dgUhRLSbIbu/wv6mjLg= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 207.211.31.81 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass header.from= (p=none dis=none) header.from= Return-Path: Received: from us-smtp-delivery-1.mimecast.com (us-smtp-2.mimecast.com [207.211.31.81]) by mx.zohomail.com with SMTPS id 1594894513163952.4058896424085; Thu, 16 Jul 2020 03:15:13 -0700 (PDT) Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-22-R5JDUIOnMWyIr5C8WbtySQ-1; Thu, 16 Jul 2020 06:09:51 -0400 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id CB96710059BA; Thu, 16 Jul 2020 10:09:45 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.21]) by smtp.corp.redhat.com (Postfix) with ESMTPS id A87ED60C47; Thu, 16 Jul 2020 10:09:45 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by colo-mx.corp.redhat.com (Postfix) with ESMTP id 7964396255; Thu, 16 Jul 2020 10:09:45 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 06GA7cP7021104 for ; Thu, 16 Jul 2020 06:07:38 -0400 Received: by smtp.corp.redhat.com (Postfix) id 4D1582DE8A; Thu, 16 Jul 2020 10:07:38 +0000 (UTC) Received: from antique-work.redhat.com (unknown [10.40.194.85]) by smtp.corp.redhat.com (Postfix) with ESMTP id BB8C62DE86 for ; Thu, 16 Jul 2020 10:07:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1594894512; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=tkugmXlgdN55r2b0MJj3BCAlmBeDyDKUnIjZg5+sqyY=; b=N0QJw7Fp5McB4/u2XMKjMbkFa3Gdidm0AZpRrtFAU+0U4qD3YZUvCnJzWhcDC6EYlf2uGy i7L3iwQYnnH1W1Dx6GBM+dxwtzLyxYZJUWhewv4U7YEImWf6h3VfywEq5Jr3LymmHnydA+ xoJgORlhaGUKjC7NhCco82ujLrGMwss= X-MC-Unique: R5JDUIOnMWyIr5C8WbtySQ-1 From: Pavel Hrdina To: libvir-list@redhat.com Subject: [libvirt PATCH 333/351] meson: docs/kbase: build html files Date: Thu, 16 Jul 2020 11:59:29 +0200 Message-Id: <5503c512872fc2e17165b7ea0bcd82e745ac83a0.1594891445.git.phrdina@redhat.com> In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.84 on 10.5.11.23 X-loop: libvir-list@redhat.com X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=libvir-list-bounces@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) Content-Type: text/plain; charset="utf-8" Signed-off-by: Pavel Hrdina --- docs/Makefile.am | 13 ------------- docs/kbase/meson.build | 41 +++++++++++++++++++++++++++++++++++++++++ docs/meson.build | 1 + 3 files changed, 42 insertions(+), 13 deletions(-) create mode 100644 docs/kbase/meson.build diff --git a/docs/Makefile.am b/docs/Makefile.am index 6b2ee2747e2..a25fe49b6b7 100644 --- a/docs/Makefile.am +++ b/docs/Makefile.am @@ -48,19 +48,6 @@ logofiles =3D \ logofilesdir =3D $(HTML_DIR)/logos logofiles_DATA =3D $(logofiles) =20 -kbase_html_in =3D \ - $(patsubst $(srcdir)/%,%,$(wildcard $(srcdir)/kbase/*.html.in)) -kbase_rst =3D \ - $(patsubst $(srcdir)/%,%,$(wildcard $(srcdir)/kbase/*.rst)) -kbase_rst_html_in =3D \ - $(kbase_rst:%.rst=3D%.html.in) -kbase_html =3D \ - $(kbase_html_in:%.html.in=3D%.html) \ - $(kbase_rst_html_in:%.html.in=3D%.html) - -kbasedir =3D $(HTML_DIR)/kbase -kbase_DATA =3D $(kbase_html) - # Sync with src/util/ KEYCODES =3D linux osx atset1 atset2 atset3 xtkbd usb win32 qnum KEYNAMES =3D linux osx win32 diff --git a/docs/kbase/meson.build b/docs/kbase/meson.build new file mode 100644 index 00000000000..6a17d674436 --- /dev/null +++ b/docs/kbase/meson.build @@ -0,0 +1,41 @@ +docs_kbase_files =3D [ + 'backing_chains', + 'domainstatecapture', + 'launch_security_sev', + 'locking-lockd', + 'locking', + 'locking-sanlock', + 'migrationinternals', + 'qemu-passthrough-security', + 'rpm-deployment', + 'secureusage', + 'virtiofs', +] + +foreach name : docs_kbase_files + rst_file =3D '@0@.rst'.format(name) + html_file =3D '@0@.html'.format(name) + + html_in =3D docs_rst2html_gen.process(rst_file) + + custom_target( + html_file, + input: html_in, + output: html_file, + command: [ + meson_python_prog, + meson_html_gen_prog, + xsltproc_prog.path(), + xmllint_prog.path(), + meson.build_root(), + docs_timestamp, + site_xsl, + '@INPUT@', + '@OUTPUT@', + ], + depends: [ aclperms_gen ], + depend_files: [ page_xsl ], + install: true, + install_dir: docs_html_dir / 'kbase', + ) +endforeach diff --git a/docs/meson.build b/docs/meson.build index bbd6faaa786..069778ce890 100644 --- a/docs/meson.build +++ b/docs/meson.build @@ -288,6 +288,7 @@ subdir('fonts') subdir('html') subdir('internals') subdir('js') +subdir('kbase') =20 =20 # This hack enables us to view the web pages --=20 2.26.2