From nobody Sun Feb 8 09:12:08 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 205.139.110.61 as permitted sender) client-ip=205.139.110.61; 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 205.139.110.61 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=1594894278; cv=none; d=zohomail.com; s=zohoarc; b=ZjPxx0CEa9bUNDB6JbnzysInSdqRPU+eFRI/sXso9PHZKKsu0GqtHhBerg0kYShGD1G3lPxqxVRdSUBENqXydnuXegVgUCncIFThVMgPxnMvuiUjY3OyPR03dzcsvHxXm9sJhRQNDwWWNAh0cCHQfh0ihmA34r3BlKCLt1DARwE= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1594894278; 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=Q7IXevowKENIohaVEXatvRuw/aBKnRvp9AxCm26irJg=; b=lm/o5dy0KNPYZoiIsF9fPY2ER6pwtoAyhjsECAWAztT/O/DYSPOBZ7jfNpSnAUDuHjT2zKx6xUH/7rQalw/GryuqqcUqm8PQ/rO+KGRg/lrh9OGTYvtyfh3+z+Rm7UBYomOQ3d+EDYGxvL9a52t8pv/ww2fkJlS2Kh8JtpNnvQc= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 205.139.110.61 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 [205.139.110.61]) by mx.zohomail.com with SMTPS id 1594894278934720.5695059757386; Thu, 16 Jul 2020 03:11:18 -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-28-eOCRP3ekNG-GYUH6crZqqQ-1; Thu, 16 Jul 2020 06:11:15 -0400 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 5DC3E80572E; Thu, 16 Jul 2020 10:11:08 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.20]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 35BC57B421; Thu, 16 Jul 2020 10:11:08 +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 F39051804776; Thu, 16 Jul 2020 10:11:07 +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 06GA7N9s020778 for ; Thu, 16 Jul 2020 06:07:23 -0400 Received: by smtp.corp.redhat.com (Postfix) id A638E2B6DB; Thu, 16 Jul 2020 10:07:23 +0000 (UTC) Received: from antique-work.redhat.com (unknown [10.40.194.85]) by smtp.corp.redhat.com (Postfix) with ESMTP id 218C52DE72 for ; Thu, 16 Jul 2020 10:07:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1594894277; 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=Q7IXevowKENIohaVEXatvRuw/aBKnRvp9AxCm26irJg=; b=DfDl89ZtNKiEp1EkvkyID1od16D/FUrJ04YBCa3+j7iB3Bm96tcRAXzgGlxfjSLf2ZHU2l NrrZMyxzOePRoT01uliwG4UFJLVIOetRcKRDKbHiOYEmOOLbfngR8h4DMbVRm06XkH0Oam rYpnyLtQTRuzkWzDuJe5e48LHFz4Cf8= X-MC-Unique: eOCRP3ekNG-GYUH6crZqqQ-1 From: Pavel Hrdina To: libvir-list@redhat.com Subject: [libvirt PATCH 320/351] meson: docs: introduce docs_rst2html_gen generator Date: Thu, 16 Jul 2020 11:59:16 +0200 Message-Id: <0bf92a284b021b99398a2895aed2a84d796eeb44.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.13 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 | 4 ---- docs/meson.build | 7 +++++++ 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/docs/Makefile.am b/docs/Makefile.am index 0584702f7a1..a2fe2fbdc75 100644 --- a/docs/Makefile.am +++ b/docs/Makefile.am @@ -320,10 +320,6 @@ news.html.in: $(top_srcdir)/NEWS.rst $(AM_V_GEN)$(MKDIR_P) `dirname $@` && \ $(RST2HTML) --strict $< > $@ || { rm $@ && exit 1; } =20 -%.html.in: %.rst - $(AM_V_GEN)$(MKDIR_P) `dirname $@` && \ - $(RST2HTML) --strict $< > $@ || { rm $@ && exit 1; } - %.html.tmp: %.html.in site.xsl subsite.xsl page.xsl \ $(acl_generated) $(AM_V_GEN)name=3D`echo $@ | sed -e 's/.tmp//'`; \ diff --git a/docs/meson.build b/docs/meson.build index bbe012491f3..b3f41a188ff 100644 --- a/docs/meson.build +++ b/docs/meson.build @@ -72,3 +72,10 @@ docs_api_xml =3D docs_api_generated[0] docs_lxc_api_xml =3D docs_api_generated[1] docs_qemu_api_xml =3D docs_api_generated[2] docs_admin_api_xml =3D docs_api_generated[3] + +docs_rst2html_gen =3D generator( + rst2html_prog, + output: '@BASENAME@.html.in', + arguments: [ '--strict', '@INPUT@' ], + capture: true, +) --=20 2.26.2