From nobody Sun Feb 8 15:46:31 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 207.211.31.120 as permitted sender) client-ip=207.211.31.120; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-1.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 207.211.31.120 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=1594894585; cv=none; d=zohomail.com; s=zohoarc; b=ib1sMCEWAbALQvSJ2nU99Sjrj8wgIXtObHwtWM12jJROyFHyhSdI7xBqUHuCwA5A3Cl1MKsjvnEiV5hv4YxJzg5l6Qedhj7RBfusDh1MzzttwYvh64YUrM/KyQ57Hw0fWxv8R/1Pymshp8PNXtH5ZkLN1tdWtHDWQlpMB31DoBs= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1594894585; 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=tHGkOcoTVVn2NHRavYKij1WYYtIv6dQvzQ6kUspPw8Q=; b=nJeivGtebQ3qpiKDg7XMBeSxZg1qoosxkBrfYDUzCjsU5ryXQYYCUlosECG+aYF6cAE6sSNyn+nr6nVUAtgxmzkUdJh2HICF8rMfDHBXsu46znGUj29p+Xpt6eR/NmyTJy5iVXvGkx1WIw569/GZEnDgmuLrjLvyQfGN6MwuU60= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 207.211.31.120 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-1.mimecast.com (us-smtp-delivery-1.mimecast.com [207.211.31.120]) by mx.zohomail.com with SMTPS id 1594894585699241.93952157163028; Thu, 16 Jul 2020 03:16:25 -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-206-NszoBjysMU-G0qARNdp_rA-1; Thu, 16 Jul 2020 06:15:01 -0400 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 524E7802808; Thu, 16 Jul 2020 10:14:56 +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 E2EA11053B01; Thu, 16 Jul 2020 10:14:55 +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 B52BF9A311; Thu, 16 Jul 2020 10:14:55 +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 06GA7aRY021074 for ; Thu, 16 Jul 2020 06:07:36 -0400 Received: by smtp.corp.redhat.com (Postfix) id 7D29A2DE86; Thu, 16 Jul 2020 10:07:36 +0000 (UTC) Received: from antique-work.redhat.com (unknown [10.40.194.85]) by smtp.corp.redhat.com (Postfix) with ESMTP id EB6492DE93 for ; Thu, 16 Jul 2020 10:07:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1594894584; 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=tHGkOcoTVVn2NHRavYKij1WYYtIv6dQvzQ6kUspPw8Q=; b=ahgye3zrmPr9h/ZWdSI/ml4RsGXEybs9kyYJdebb0YIAa3q8rldfHdz75PDIsPC5FB6vT9 3Onx4CaxjDJ8tICR5RqgqWOD4p5hsDVRRzQsG0Sz6MF74L3F40c/wDj9FABuXwfBNz2doK 3qBVP3Frss5Z8dEi9RswOlRZkGJVJmM= X-MC-Unique: NszoBjysMU-G0qARNdp_rA-1 From: Pavel Hrdina To: libvir-list@redhat.com Subject: [libvirt PATCH 331/351] meson: docs/internals: build html files Date: Thu, 16 Jul 2020 11:59:27 +0200 Message-Id: <34b6d32098b5eb8dae45db926b228e43bda3ef3d.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.84 on 10.5.11.22 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/internals/meson.build | 32 ++++++++++++++++++++++++++++++++ docs/meson.build | 1 + 3 files changed, 33 insertions(+), 13 deletions(-) create mode 100644 docs/internals/meson.build diff --git a/docs/Makefile.am b/docs/Makefile.am index 9e3479f010e..0e59b00961c 100644 --- a/docs/Makefile.am +++ b/docs/Makefile.am @@ -55,19 +55,6 @@ logofiles =3D \ logofilesdir =3D $(HTML_DIR)/logos logofiles_DATA =3D $(logofiles) =20 -internals_html_in =3D \ - $(patsubst $(srcdir)/%,%,$(wildcard $(srcdir)/internals/*.html.in)) -internals_rst =3D \ - $(patsubst $(srcdir)/%,%,$(wildcard $(srcdir)/internals/*.rst)) -internals_rst_html_in =3D \ - $(internals_rst:%.rst=3D%.html.in) -internals_html =3D \ - $(internals_html_in:%.html.in=3D%.html) \ - $(internals_rst_html_in:%.html.in=3D%.html) - -internalsdir =3D $(HTML_DIR)/internals -internals_DATA =3D $(internals_html) - kbase_html_in =3D \ $(patsubst $(srcdir)/%,%,$(wildcard $(srcdir)/kbase/*.html.in)) kbase_rst =3D \ diff --git a/docs/internals/meson.build b/docs/internals/meson.build new file mode 100644 index 00000000000..944903ae27f --- /dev/null +++ b/docs/internals/meson.build @@ -0,0 +1,32 @@ +internals_in_files =3D [ + 'command', + 'eventloop', + 'locking', + 'rpc', +] + +foreach name : internals_in_files + html_in_file =3D '@0@.html.in'.format(name) + html_file =3D '@0@.html'.format(name) + + custom_target( + html_file, + input: html_in_file, + 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 / 'internals', + ) +endforeach diff --git a/docs/meson.build b/docs/meson.build index d6944ad642a..b211a377f59 100644 --- a/docs/meson.build +++ b/docs/meson.build @@ -286,6 +286,7 @@ endforeach =20 subdir('fonts') subdir('html') +subdir('internals') =20 =20 # This hack enables us to view the web pages --=20 2.26.2