From nobody Mon Feb 9 10:28:34 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=1587848443; cv=none; d=zohomail.com; s=zohoarc; b=RcRrrnHBxQPLDSNWOTu4mg//UGLLvdGiwMM/BFknYA7StzkP6baQ15u+/swYliRuunvx9FaBYj7SyJuXnmlt5Q2McegxtT/19BtF/g5NNvzlqcE2o+95VtMr7S5+LFoFhS3xrXdgvsjMC5sF/URu0CLQq9RATWaF9IsGBqTEpHg= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1587848443; 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=tTmR044BxIL1xgNEvO3FguV7RuUBNtHbc2O9PGV7eGw=; b=NiTlCWNbk6hZjM5JfS/VuPIv9j1cTbNUipXnzbvRYLL3TGIzRSULBUZnTVxGl7O8pKE334yEsZ/4Hf8GX2osDZ0/VxQTZatUopJ8XzKiBLSXrTPI4hI3dxPIwu1VG1i9jRk1dD7XoM1t0P6eQle++8NYBHuvMq/tSQHG6NJOTJw= 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 1587848443497923.1378515685013; Sat, 25 Apr 2020 14:00:43 -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-130-qtWlU6LyM22GfJizQ3hpOA-1; Sat, 25 Apr 2020 17:00:37 -0400 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 80E6080B71C; Sat, 25 Apr 2020 21:00:31 +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 4D8BA5C254; Sat, 25 Apr 2020 21:00:31 +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 D4CB8180042E; Sat, 25 Apr 2020 21:00:30 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 03PL0Asu030170 for ; Sat, 25 Apr 2020 17:00:10 -0400 Received: by smtp.corp.redhat.com (Postfix) id 4597A5D715; Sat, 25 Apr 2020 21:00:10 +0000 (UTC) Received: from harajuku.usersys.redhat.com (unknown [10.40.192.39]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 8F5B45D714 for ; Sat, 25 Apr 2020 21:00:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1587848440; 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=tTmR044BxIL1xgNEvO3FguV7RuUBNtHbc2O9PGV7eGw=; b=Dh70wHCNM+aoXMGQQtavvWf/JT8ihfiT0u/wNfOzdcpC1BZ5nXD/6G7iG+KKxLMQ/D7FdS gs4h65DvKIEmwecSOZm/hXMMNYYXfQ5yOLNQyGk18zMCyiiTjEN+drnHR9H3xblK0/tVmA L/+vTYaB/h+6MibHJ4Hx/27DOqoyLz0= X-MC-Unique: qtWlU6LyM22GfJizQ3hpOA-1 From: Andrea Bolognani To: libvir-list@redhat.com Subject: [libvirt-dbus PATCH 8/9] meson: Install documentation Date: Sat, 25 Apr 2020 22:59:45 +0200 Message-Id: <20200425205946.656100-9-abologna@redhat.com> In-Reply-To: <20200425205946.656100-1-abologna@redhat.com> References: <20200425205946.656100-1-abologna@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 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.16 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" People who install the RPM packages already get this, but it's good practice so let's make it happen for those who install from source as well. The process is straightforward, but we have to be a bit careful with AUTHORS because this specific file is found in different directories depending on whether we're building from git or from a release. Signed-off-by: Andrea Bolognani --- meson.build | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/meson.build b/meson.build index 7518e94..9395bc4 100644 --- a/meson.build +++ b/meson.build @@ -12,6 +12,7 @@ project( prefix =3D get_option('prefix') datadir =3D prefix / get_option('datadir') sbindir =3D prefix / get_option('sbindir') +set_variable('docdir', datadir / 'doc/libvirt-dbus') =20 opt_dirs =3D [ 'dbus_interfaces', @@ -258,6 +259,7 @@ if git configuration: { 'contributorslist': authors.stdout() }, input: 'AUTHORS.rst.in', output: 'AUTHORS.rst', + install_dir: docdir, ) =20 foreach file : [ 'libvirt-dbus.spec', 'AUTHORS.rst' ] @@ -266,6 +268,22 @@ if git endif =20 =20 +# Install documentation + +docs =3D [ + 'COPYING', + 'NEWS.rst', +] +if not git + docs +=3D ['AUTHORS.rst'] +endif + +install_data( + docs, + install_dir: docdir, +) + + # Include sub-directories =20 subdir('data') --=20 2.25.3