From nobody Mon Apr 29 01:41:54 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) client-ip=209.132.183.28; envelope-from=libvir-list-bounces@redhat.com; helo=mx1.redhat.com; Authentication-Results: mx.zohomail.com; spf=pass (zoho.com: domain of redhat.com designates 209.132.183.28 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=1558547599; cv=none; d=zoho.com; s=zohoarc; b=R+fdC7+6aA/gD8JOguuAWKMsPXfiwGaxFuFnmKNC2b0D9Bxv1R9/hmr7w8thHHgfmyBmyfysWKyqtJZZPA0TJRiEP0vhVn5c2xtsSaMaK5sVQhKs28jW9XWf/y+bwMelu+60VwAq3RsFbO40d8Ybu2kkqeKdZ8XfW7fn1U3FMng= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1558547599; 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:ARC-Authentication-Results; bh=+SruLCtIbMmL3F2s2UJ5hrwzldkeHsEBfgQO63/exgY=; b=gm6ehlqBfpC3+noU3i2iDfg89O7iKaNmslOq4WO9pmfCQY48tFt86dFYwNa6sOxuEuPZxAgmZB/qTvaiIq1WlyiAo25bRFlcGvae0Cd0sxlZ646/fmMuOexhrdmgPDjzj3GYo/sY18aId8b8H0+LmORHNflZOMtfSOM67Xvdgkc= ARC-Authentication-Results: i=1; mx.zoho.com; spf=pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass header.from= (p=none dis=none) header.from= Return-Path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by mx.zohomail.com with SMTPS id 1558547599834691.7121599141863; Wed, 22 May 2019 10:53:19 -0700 (PDT) Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 7BC623086225; Wed, 22 May 2019 17:53:17 +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 6F2DA5DE68; Wed, 22 May 2019 17:53:16 +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 508465B424; Wed, 22 May 2019 17:53:13 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id x4MHrC5n020300 for ; Wed, 22 May 2019 13:53:12 -0400 Received: by smtp.corp.redhat.com (Postfix) id 785DD60FFE; Wed, 22 May 2019 17:53:12 +0000 (UTC) Received: from kinshicho.brq.redhat.com (unknown [10.43.2.73]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 0068260BE5 for ; Wed, 22 May 2019 17:53:11 +0000 (UTC) From: Andrea Bolognani To: libvir-list@redhat.com Date: Wed, 22 May 2019 19:52:52 +0200 Message-Id: <20190522175307.14017-2-abologna@redhat.com> In-Reply-To: <20190522175307.14017-1-abologna@redhat.com> References: <20190522175307.14017-1-abologna@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 X-loop: libvir-list@redhat.com Subject: [libvirt] [PATCH 01/16] spec: Don't install libvirt-api.xml as documentation 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: , Content-Transfer-Encoding: quoted-printable Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.42]); Wed, 22 May 2019 17:53:18 +0000 (UTC) Content-Type: text/plain; charset="utf-8" We already install the file, along with its driver-specific counterparts, into ${datadir}/libvirt/api/ where language bindings will actually look for them. Signed-off-by: Andrea Bolognani --- libvirt.spec.in | 2 -- 1 file changed, 2 deletions(-) diff --git a/libvirt.spec.in b/libvirt.spec.in index b159c50d8f..06cdce9a2f 100644 --- a/libvirt.spec.in +++ b/libvirt.spec.in @@ -1867,8 +1867,6 @@ exit 0 %{_datadir}/libvirt/api/libvirt-admin-api.xml %{_datadir}/libvirt/api/libvirt-qemu-api.xml %{_datadir}/libvirt/api/libvirt-lxc-api.xml -# Needed building python bindings -%doc docs/libvirt-api.xml =20 =20 %changelog --=20 2.21.0 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list From nobody Mon Apr 29 01:41:54 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) client-ip=209.132.183.28; envelope-from=libvir-list-bounces@redhat.com; helo=mx1.redhat.com; Authentication-Results: mx.zohomail.com; spf=pass (zoho.com: domain of redhat.com designates 209.132.183.28 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=1558547745; cv=none; d=zoho.com; s=zohoarc; b=jF7Te47inwRa6L/ZYUpFW9xz1jCclb1ZZhfam+Nx9O/SaRmUEK8o/zoBXKJOGd01a5baGANJWnB8pVU9Gbmrpsj5pjJHHa8Acr7Xlly6vdapMOFs6LTNTEFF+agfKR1VfTCKXelKHjjvIMqPY7Vt9QfHnAQzMCldQPg1VkB0UX4= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1558547745; 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:ARC-Authentication-Results; bh=BIUjkXn5G/ZgxJqbzdg5QddEtcWW40tmYr3BJ1LeGjM=; b=HVUYe825pTt5r/k0/05zupfK+NAAmqrydfnF5R2httHt6TKp9NN0usk6X/ACcjgTZ/b/tSTI34NZpxdCaORNs423snxEnZ60RY6iOvmz/zbk6zsiwlek8TJdsYAL4RDI8e3uXBKIlntUVqPW23F0wD+d/luGMSMw7yL8th/sxow= ARC-Authentication-Results: i=1; mx.zoho.com; spf=pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass header.from= (p=none dis=none) header.from= Return-Path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by mx.zohomail.com with SMTPS id 1558547745329620.8997569015492; Wed, 22 May 2019 10:55:45 -0700 (PDT) Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 4D4CA307E04E; Wed, 22 May 2019 17:55:44 +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 27DCF5DE61; Wed, 22 May 2019 17:55:44 +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 C91FA5B424; Wed, 22 May 2019 17:55:43 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id x4MHrDue020312 for ; Wed, 22 May 2019 13:53:13 -0400 Received: by smtp.corp.redhat.com (Postfix) id 492B260FFE; Wed, 22 May 2019 17:53:13 +0000 (UTC) Received: from kinshicho.brq.redhat.com (unknown [10.43.2.73]) by smtp.corp.redhat.com (Postfix) with ESMTPS id C595860BE5 for ; Wed, 22 May 2019 17:53:12 +0000 (UTC) From: Andrea Bolognani To: libvir-list@redhat.com Date: Wed, 22 May 2019 19:52:53 +0200 Message-Id: <20190522175307.14017-3-abologna@redhat.com> In-Reply-To: <20190522175307.14017-1-abologna@redhat.com> References: <20190522175307.14017-1-abologna@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 X-loop: libvir-list@redhat.com Subject: [libvirt] [PATCH 02/16] examples: Drop object_events_event_test_CFLAGS 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: , Content-Transfer-Encoding: quoted-printable Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.42]); Wed, 22 May 2019 17:55:44 +0000 (UTC) Content-Type: text/plain; charset="utf-8" $(AM_CPPFLAGS) already includes $(WARN_CFLAGS), so this is not doing anything useful. Signed-off-by: Andrea Bolognani --- examples/Makefile.am | 3 --- 1 file changed, 3 deletions(-) diff --git a/examples/Makefile.am b/examples/Makefile.am index 11c9f44917..9a32fd5d4a 100644 --- a/examples/Makefile.am +++ b/examples/Makefile.am @@ -67,9 +67,6 @@ domsuspend_suspend_SOURCES =3D domsuspend/suspend.c domtop_domtop_SOURCES =3D domtop/domtop.c hellolibvirt_hellolibvirt_SOURCES =3D hellolibvirt/hellolibvirt.c =20 -object_events_event_test_CFLAGS =3D \ - $(WARN_CFLAGS) \ - $(NULL) object_events_event_test_SOURCES =3D object-events/event-test.c =20 openauth_openauth_SOURCES =3D openauth/openauth.c --=20 2.21.0 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list From nobody Mon Apr 29 01:41:54 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) client-ip=209.132.183.28; envelope-from=libvir-list-bounces@redhat.com; helo=mx1.redhat.com; Authentication-Results: mx.zohomail.com; spf=pass (zoho.com: domain of redhat.com designates 209.132.183.28 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=1558547740; cv=none; d=zoho.com; s=zohoarc; b=MPirPLU9Fux2SLSQk4CvZU7SjIu1mTC8cyb6CYuhk1ZLFIMYGDuhngGxEfHBvAU5dEoIu+r1nPcpQftoVy7ZuliDbnK9bUBnV+HZWeiGaP6ql+KtK9PMzQfRC7vl0FJVIfHqzJIOqZfETubtU28Q2+SnQInbXRMZelY9ch3OihE= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1558547740; 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:ARC-Authentication-Results; bh=vn1YfGoAesXBNJUU5hi/gAyv9aDM4Vqy4NYlyKJonmg=; b=diegz+XHMNGys6YxmLUcvpYAFku+8/t6BT0e7YzPwYpfzLE1ocM++XUlkPyOTUOR7co3EMGj2zk7smUxRQCIESwAeTj6bvGs0GfSADtJNPBp3XYLHAlRdqbHFENteHa0ZP75SEwvNKZ03KTAURZCscTlEVn7tEcdgVLOl1YnNEg= ARC-Authentication-Results: i=1; mx.zoho.com; spf=pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass header.from= (p=none dis=none) header.from= Return-Path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by mx.zohomail.com with SMTPS id 1558547740487475.92246148387756; Wed, 22 May 2019 10:55:40 -0700 (PDT) Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 0272D3082B43; Wed, 22 May 2019 17:55:39 +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 D0F415447E; Wed, 22 May 2019 17:55:38 +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 8D1A81806B16; Wed, 22 May 2019 17:55:38 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id x4MHrE44020323 for ; Wed, 22 May 2019 13:53:14 -0400 Received: by smtp.corp.redhat.com (Postfix) id 1BE8760FFE; Wed, 22 May 2019 17:53:14 +0000 (UTC) Received: from kinshicho.brq.redhat.com (unknown [10.43.2.73]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 975CF60240 for ; Wed, 22 May 2019 17:53:13 +0000 (UTC) From: Andrea Bolognani To: libvir-list@redhat.com Date: Wed, 22 May 2019 19:52:54 +0200 Message-Id: <20190522175307.14017-4-abologna@redhat.com> In-Reply-To: <20190522175307.14017-1-abologna@redhat.com> References: <20190522175307.14017-1-abologna@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 X-loop: libvir-list@redhat.com Subject: [libvirt] [PATCH 03/16] examples: Reformat $(AM_CPPFLAGS) and $(LDADDS) 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: , Content-Transfer-Encoding: quoted-printable Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.45]); Wed, 22 May 2019 17:55:39 +0000 (UTC) Content-Type: text/plain; charset="utf-8" This will make further changes easier to review. Signed-off-by: Andrea Bolognani --- examples/Makefile.am | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/examples/Makefile.am b/examples/Makefile.am index 9a32fd5d4a..8f50149812 100644 --- a/examples/Makefile.am +++ b/examples/Makefile.am @@ -26,13 +26,19 @@ EXTRA_DIST =3D \ $(wildcard $(srcdir)/xml/storage/*.xml) \ $(wildcard $(srcdir)/xml/test/*.xml) =20 - AM_CPPFLAGS =3D \ - -I$(top_builddir)/include -I$(top_srcdir)/include -I$(top_srcdir) \ - $(WARN_CFLAGS) -LDADD =3D $(STATIC_BINARIES) $(WARN_CFLAGS) \ + -I$(top_builddir)/include \ + -I$(top_srcdir)/include \ + -I$(top_srcdir) \ + $(WARN_CFLAGS) \ + $(NULL) + +LDADD =3D \ + $(STATIC_BINARIES) \ + $(WARN_CFLAGS) \ $(top_builddir)/src/libvirt.la \ - $(top_builddir)/src/libvirt-admin.la + $(top_builddir)/src/libvirt-admin.la \ + $(NULL) =20 # List of example programs. We need to list them here instead of using # $(noinst_PROGRAMS) directly because we want to have access to the --=20 2.21.0 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list From nobody Mon Apr 29 01:41:54 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) client-ip=209.132.183.28; envelope-from=libvir-list-bounces@redhat.com; helo=mx1.redhat.com; Authentication-Results: mx.zohomail.com; spf=pass (zoho.com: domain of redhat.com designates 209.132.183.28 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=1558547757; cv=none; d=zoho.com; s=zohoarc; b=QpxOqJQfuwSbvQMNyQ9+XY+HirNUpKVVP3cDfIXjjz7hpT+V1LFtle5Qpc78y7nTcOR49M84eLA+zhfiM31QjHQ0MAkIpRcwl8q7n4m8GikRPqnW5ts7WDYPV+VUCN1GC/AVW6etixfFNXUGH/xdgMvs9XyHRwPSuuMCeJX0SZs= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1558547757; 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:ARC-Authentication-Results; bh=TG016tRjyK6p2BYRCs+75YwXv3o0CmTj5moQpT56Zz8=; b=AKrXHI8U0Ul7rl3D9MFRFes3PNDZzleNkhfPzCyu0w9MK8unxdwg2DlNlprrgzleaWzyrqEcAr2nFdz7uDvLRwxE8lz52m1i6ATlbXulOE0r5N5GlmzH/gzdIGTUnBuKkjL0FTErBJJ1jVyeSoCEWXymZVm38ZDYWLRYLMY1qEM= ARC-Authentication-Results: i=1; mx.zoho.com; spf=pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass header.from= (p=none dis=none) header.from= Return-Path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by mx.zohomail.com with SMTPS id 1558547757626551.4375232927238; Wed, 22 May 2019 10:55:57 -0700 (PDT) Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id A19863082B5F; Wed, 22 May 2019 17:55:56 +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 7BBF8544ED; Wed, 22 May 2019 17:55:56 +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 403DC1806B19; Wed, 22 May 2019 17:55:56 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id x4MHrEmC020332 for ; Wed, 22 May 2019 13:53:14 -0400 Received: by smtp.corp.redhat.com (Postfix) id E1AED60FFE; Wed, 22 May 2019 17:53:14 +0000 (UTC) Received: from kinshicho.brq.redhat.com (unknown [10.43.2.73]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 6955960240 for ; Wed, 22 May 2019 17:53:14 +0000 (UTC) From: Andrea Bolognani To: libvir-list@redhat.com Date: Wed, 22 May 2019 19:52:55 +0200 Message-Id: <20190522175307.14017-5-abologna@redhat.com> In-Reply-To: <20190522175307.14017-1-abologna@redhat.com> References: <20190522175307.14017-1-abologna@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 X-loop: libvir-list@redhat.com Subject: [libvirt] [PATCH 04/16] examples: Remove $(WARN_CFLAGS) from $(LDADD) 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: , Content-Transfer-Encoding: quoted-printable Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.45]); Wed, 22 May 2019 17:55:57 +0000 (UTC) Content-Type: text/plain; charset="utf-8" $(WARN_CFLAGS) contains options intended for the compiler, whereas $(LDADD) is supposed to list additional objects required during linking, so the former clearly doesn't belong in the latter. Signed-off-by: Andrea Bolognani --- examples/Makefile.am | 1 - 1 file changed, 1 deletion(-) diff --git a/examples/Makefile.am b/examples/Makefile.am index 8f50149812..4c04bd35be 100644 --- a/examples/Makefile.am +++ b/examples/Makefile.am @@ -35,7 +35,6 @@ AM_CPPFLAGS =3D \ =20 LDADD =3D \ $(STATIC_BINARIES) \ - $(WARN_CFLAGS) \ $(top_builddir)/src/libvirt.la \ $(top_builddir)/src/libvirt-admin.la \ $(NULL) --=20 2.21.0 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list From nobody Mon Apr 29 01:41:54 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) client-ip=209.132.183.28; envelope-from=libvir-list-bounces@redhat.com; helo=mx1.redhat.com; Authentication-Results: mx.zohomail.com; spf=pass (zoho.com: domain of redhat.com designates 209.132.183.28 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=1558547762; cv=none; d=zoho.com; s=zohoarc; b=J+oKaKN8b1HrMeHwYUuxx4bq10XWWJEGaSuWXgicsPaydr8UxXetALbqiInNM/KwABBdW5//Bx7/kuwrkqZ/fZuyLniyGTZtENElc7cXCl704InrlykrYo0vumMyg1EWLGGJU4D9on94Dzmx+EhSm5SvKSk2KMaCeCz5Er2p/mY= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1558547762; 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:ARC-Authentication-Results; bh=1RkoWjawZNmJKhICjQEekmO8K6LbcwjzdAJrcornzvk=; b=cdZVPXWZbQEZWKGBqIkK94iK2kT6Di2fvMFp0DSYMYX5F0Qp6DYLcVz3PTP359Px00Z+SFMjuDiC2/kQnhHIbzvfL4Lcyiiq6tUZkI9jhJNtEqmiAhoY2pfshCpux17dkrdsu3IvWXnzVckrWIvT2XMoNE6b6KZk73hj2UV9SN0= ARC-Authentication-Results: i=1; mx.zoho.com; spf=pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass header.from= (p=none dis=none) header.from= Return-Path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by mx.zohomail.com with SMTPS id 1558547762074550.5732652454918; Wed, 22 May 2019 10:56:02 -0700 (PDT) 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 mx1.redhat.com (Postfix) with ESMTPS id DCCBBC004F42; Wed, 22 May 2019 17:56:00 +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 B6A0060240; Wed, 22 May 2019 17:56:00 +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 7F2991806B1A; Wed, 22 May 2019 17:56:00 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id x4MHrFXI020342 for ; Wed, 22 May 2019 13:53:15 -0400 Received: by smtp.corp.redhat.com (Postfix) id B2DAB60BE5; Wed, 22 May 2019 17:53:15 +0000 (UTC) Received: from kinshicho.brq.redhat.com (unknown [10.43.2.73]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 3B6F060FFE for ; Wed, 22 May 2019 17:53:15 +0000 (UTC) From: Andrea Bolognani To: libvir-list@redhat.com Date: Wed, 22 May 2019 19:52:56 +0200 Message-Id: <20190522175307.14017-6-abologna@redhat.com> In-Reply-To: <20190522175307.14017-1-abologna@redhat.com> References: <20190522175307.14017-1-abologna@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 X-loop: libvir-list@redhat.com Subject: [libvirt] [PATCH 05/16] examples: Don't look for headers in $(top_srcdir) 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: , Content-Transfer-Encoding: quoted-printable Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.32]); Wed, 22 May 2019 17:56:01 +0000 (UTC) Content-Type: text/plain; charset="utf-8" The C programs in this directory are supposed to be only using public functions, so having $(top_srcdir) in the header search path is unnecessary at best and actively harmful at worst. Signed-off-by: Andrea Bolognani --- examples/Makefile.am | 1 - 1 file changed, 1 deletion(-) diff --git a/examples/Makefile.am b/examples/Makefile.am index 4c04bd35be..d83104a130 100644 --- a/examples/Makefile.am +++ b/examples/Makefile.am @@ -29,7 +29,6 @@ EXTRA_DIST =3D \ AM_CPPFLAGS =3D \ -I$(top_builddir)/include \ -I$(top_srcdir)/include \ - -I$(top_srcdir) \ $(WARN_CFLAGS) \ $(NULL) =20 --=20 2.21.0 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list From nobody Mon Apr 29 01:41:54 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) client-ip=209.132.183.28; envelope-from=libvir-list-bounces@redhat.com; helo=mx1.redhat.com; Authentication-Results: mx.zohomail.com; spf=pass (zoho.com: domain of redhat.com designates 209.132.183.28 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=1558547778; cv=none; d=zoho.com; s=zohoarc; b=Ky69FcPxtXzQ8yBVAP+uBVNAi8Yh9uKm8K3m/3+o6MeOlayFx91GEWOqDyJ3PiL4VN4hKfQH9uCp5+5h0xj3my8jdvLlWphmJvxR7lekaht6HP6epQ0U+zrzTFaaJ8TXgZcoZSZJahjnc/XBOmensce90t1NA4JM/XFdLU//+h4= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1558547778; 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:ARC-Authentication-Results; bh=5ZmqCc97we1P28vu9awtYNYFUxAlaqRQTnAAY/o6G34=; b=emgmJsftExdJKqdrO+lY0M0N7TkozopvVVrhl2frxaIMREoCgajCOtjTG2YqRjbl2pqomFAYQe/aT/fsvMJ3mPNxWn4DCUvi/8EgW47FAoYXvyD7gttnE7QebiNdOALAlPza3Xrq6JncOlj9YE1459tYRy2XEifqDqP+Naa8dUA= ARC-Authentication-Results: i=1; mx.zoho.com; spf=pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass header.from= (p=none dis=none) header.from= Return-Path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by mx.zohomail.com with SMTPS id 1558547778610215.52059279962884; Wed, 22 May 2019 10:56:18 -0700 (PDT) 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 mx1.redhat.com (Postfix) with ESMTPS id 8646530044C9; Wed, 22 May 2019 17:56:17 +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 5F3094E6C7; Wed, 22 May 2019 17:56:17 +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 204195B425; Wed, 22 May 2019 17:56:17 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id x4MHrIGU020372 for ; Wed, 22 May 2019 13:53:18 -0400 Received: by smtp.corp.redhat.com (Postfix) id C6AE260FFE; Wed, 22 May 2019 17:53:18 +0000 (UTC) Received: from kinshicho.brq.redhat.com (unknown [10.43.2.73]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 4ED1560240 for ; Wed, 22 May 2019 17:53:15 +0000 (UTC) From: Andrea Bolognani To: libvir-list@redhat.com Date: Wed, 22 May 2019 19:52:57 +0200 Message-Id: <20190522175307.14017-7-abologna@redhat.com> In-Reply-To: <20190522175307.14017-1-abologna@redhat.com> References: <20190522175307.14017-1-abologna@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 X-loop: libvir-list@redhat.com Subject: [libvirt] [PATCH 06/16] examples: Move $(STATIC_BINARIES) to $(AM_LDFLAGS) 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: , Content-Transfer-Encoding: quoted-printable Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.46]); Wed, 22 May 2019 17:56:18 +0000 (UTC) Content-Type: text/plain; charset="utf-8" $(LDADD) is for object files that should be added during linking, not for options that should be passed to the linker: that's what $(AM_LDFLAGS) is for. Signed-off-by: Andrea Bolognani --- examples/Makefile.am | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/examples/Makefile.am b/examples/Makefile.am index d83104a130..38dcb399c0 100644 --- a/examples/Makefile.am +++ b/examples/Makefile.am @@ -32,8 +32,11 @@ AM_CPPFLAGS =3D \ $(WARN_CFLAGS) \ $(NULL) =20 -LDADD =3D \ +AM_LDFLAGS =3D \ $(STATIC_BINARIES) \ + $(NULL) + +LDADD =3D \ $(top_builddir)/src/libvirt.la \ $(top_builddir)/src/libvirt-admin.la \ $(NULL) --=20 2.21.0 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list From nobody Mon Apr 29 01:41:54 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) client-ip=209.132.183.28; envelope-from=libvir-list-bounces@redhat.com; helo=mx1.redhat.com; Authentication-Results: mx.zohomail.com; spf=pass (zoho.com: domain of redhat.com designates 209.132.183.28 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=1558547788; cv=none; d=zoho.com; s=zohoarc; b=ld+SVE0deftSb42i3lRqRQO6OWgFyrUgBZxj/zHt8U6ZTPvreJDXf3pYm28mqBB+5dB1bRt1IWPNq5yS18LjGyEsYkyvZSfxmcFACgcKv4OGRQjNK9vYSCTPPiVlik9R/pLQNTVGl06Ssur+CK9InF+LMFZHZzePPQDRCEQ/4IA= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1558547788; 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:ARC-Authentication-Results; bh=vSK9vph+dcbbyBG72Ta4MEktBIZaitA7icZ9mCXnlac=; b=m2vjyk1Rfpbs5KqCWPUlPvPSD2723xqPwy/+ZF5kUw1suoNJsfv7gyEwD2vS+wNdyj2A1LsL8NLD7bAs+1n+i4X9nQwtGqJV3DeJz7NlZF3H1uTQTnRzXNvKzeWzrV961V6qpSZHxB30wQ1ZMwY4mpEJSfZbkWJbLGJonvuc0Xc= ARC-Authentication-Results: i=1; mx.zoho.com; spf=pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass header.from= (p=none dis=none) header.from= Return-Path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by mx.zohomail.com with SMTPS id 1558547788273960.8920484308688; Wed, 22 May 2019 10:56:28 -0700 (PDT) Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 38BDAC02938A; Wed, 22 May 2019 17:56:27 +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 1294F607C4; Wed, 22 May 2019 17:56:27 +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 D37261806B24; Wed, 22 May 2019 17:56:26 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id x4MHrJxJ020382 for ; Wed, 22 May 2019 13:53:19 -0400 Received: by smtp.corp.redhat.com (Postfix) id 9779860BE5; Wed, 22 May 2019 17:53:19 +0000 (UTC) Received: from kinshicho.brq.redhat.com (unknown [10.43.2.73]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 20363619C3 for ; Wed, 22 May 2019 17:53:18 +0000 (UTC) From: Andrea Bolognani To: libvir-list@redhat.com Date: Wed, 22 May 2019 19:52:58 +0200 Message-Id: <20190522175307.14017-8-abologna@redhat.com> In-Reply-To: <20190522175307.14017-1-abologna@redhat.com> References: <20190522175307.14017-1-abologna@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 X-loop: libvir-list@redhat.com Subject: [libvirt] [PATCH 07/16] examples: Move $(WARN_CFLAGS) to $(AM_CFLAGS) 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: , Content-Transfer-Encoding: quoted-printable Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.32]); Wed, 22 May 2019 17:56:27 +0000 (UTC) Content-Type: text/plain; charset="utf-8" $(AM_CPPFLAGS) is for passing options to the C preprocessor, not the C compiler, and the stuff in $(WARN_CFLAGS) belongs to the latter category. Signed-off-by: Andrea Bolognani --- examples/Makefile.am | 3 +++ 1 file changed, 3 insertions(+) diff --git a/examples/Makefile.am b/examples/Makefile.am index 38dcb399c0..f2fef7df59 100644 --- a/examples/Makefile.am +++ b/examples/Makefile.am @@ -29,6 +29,9 @@ EXTRA_DIST =3D \ AM_CPPFLAGS =3D \ -I$(top_builddir)/include \ -I$(top_srcdir)/include \ + $(NULL) + +AM_CFLAGS =3D \ $(WARN_CFLAGS) \ $(NULL) =20 --=20 2.21.0 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list From nobody Mon Apr 29 01:41:54 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) client-ip=209.132.183.28; envelope-from=libvir-list-bounces@redhat.com; helo=mx1.redhat.com; Authentication-Results: mx.zohomail.com; spf=pass (zoho.com: domain of redhat.com designates 209.132.183.28 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=1558547794; cv=none; d=zoho.com; s=zohoarc; b=PCDo6QYOETuCDdf/BG86Tn2TeUmLfujiHodAlepTzWtoGHqwvsZlGETSYKz1L7oUDTPREDz9Ae3J7jZ3jvqXnkMQurdImrepSSYFZjW5AT0oioY2j9U/4cz+Yx36La/NsFNrcZlrP74i6oS4W0QvpV8DVpFFe4Q2LBqq0HkIBUg= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1558547794; 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:ARC-Authentication-Results; bh=eDn/BV506n2RD+3xxzeJE3/d1nKOuD9jIT0hbK2bnU0=; b=GtFvmOMsq9dMLmxleEp+F7WHXRYLo8DQ7Vkn+v1gHovysvn9Kslc9mUYrGQQRtHrMML1qwNxIWSFmCZx2CcRdR32ZLCLXxHq9Mn89kw2NR12ONousuoKnSg3NKY613sF1WYbIbhd3naw3gbFHX4dPtOuvqIYYy6gP9bYbbwMNP8= ARC-Authentication-Results: i=1; mx.zoho.com; spf=pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass header.from= (p=none dis=none) header.from= Return-Path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by mx.zohomail.com with SMTPS id 155854779401341.92450366301989; Wed, 22 May 2019 10:56:34 -0700 (PDT) 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 mx1.redhat.com (Postfix) with ESMTPS id A5B0B300DA2B; Wed, 22 May 2019 17:56:32 +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 818B96685C; Wed, 22 May 2019 17:56:32 +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 4C5F71806B1D; Wed, 22 May 2019 17:56:32 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id x4MHrLCG020398 for ; Wed, 22 May 2019 13:53:21 -0400 Received: by smtp.corp.redhat.com (Postfix) id 6A17160FFE; Wed, 22 May 2019 17:53:21 +0000 (UTC) Received: from kinshicho.brq.redhat.com (unknown [10.43.2.73]) by smtp.corp.redhat.com (Postfix) with ESMTPS id E5E5460BE5 for ; Wed, 22 May 2019 17:53:19 +0000 (UTC) From: Andrea Bolognani To: libvir-list@redhat.com Date: Wed, 22 May 2019 19:52:59 +0200 Message-Id: <20190522175307.14017-9-abologna@redhat.com> In-Reply-To: <20190522175307.14017-1-abologna@redhat.com> References: <20190522175307.14017-1-abologna@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 X-loop: libvir-list@redhat.com Subject: [libvirt] [PATCH 08/16] examples: Drop unnecessary $(mkinstalldirs) call 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: , Content-Transfer-Encoding: quoted-printable 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-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.47]); Wed, 22 May 2019 17:56:33 +0000 (UTC) Content-Type: text/plain; charset="utf-8" $(mkinstalldirs) works like 'mkdir -p' in that it will create all the necessary parts of the path leading up to the actual directory, which means creating $(examplesdir) beforehand is not necessary. Signed-off-by: Andrea Bolognani --- examples/Makefile.am | 1 - 1 file changed, 1 deletion(-) diff --git a/examples/Makefile.am b/examples/Makefile.am index f2fef7df59..8c7f4a3d64 100644 --- a/examples/Makefile.am +++ b/examples/Makefile.am @@ -115,7 +115,6 @@ endif WITH_NWFILTER examplesdir =3D $(docdir)/examples =20 install-data-local: $(INSTALL_DATA_LOCAL) - $(mkinstalldirs) $(DESTDIR)$(examplesdir) for p in $(EXAMPLES); do \ d=3D$$(dirname $$p); \ $(mkinstalldirs) $(DESTDIR)$(examplesdir)/$$d; \ --=20 2.21.0 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list From nobody Mon Apr 29 01:41:54 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) client-ip=209.132.183.28; envelope-from=libvir-list-bounces@redhat.com; helo=mx1.redhat.com; Authentication-Results: mx.zohomail.com; spf=pass (zoho.com: domain of redhat.com designates 209.132.183.28 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=1558547771; cv=none; d=zoho.com; s=zohoarc; b=JNjAIntTxN05SCl7vg3UDiZGrYNhXPVo0qoZZuE61aoMHiqMGq45BaJKIORqhBQCmC+XLvH6Wzn6Rlvn9dADdUIxM/U2yxnAP05qa6ZGbkAjVoFMhdkNAE0Wi9jwKFJBVoN6M7dO2X15WVCKm/wzvyobrFtdsfiN4Iyxx4Z6d1A= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1558547771; 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:ARC-Authentication-Results; bh=MNVxgsArZux36eKX+WpP+KcktcvaCRo0JX1TF3xdHlU=; b=LGSJOC7/1qTUgwZJ0dKAL3o/4GtHwHB2szKtL2XnsbmHU3gJQDSh7vm0bCGM+tgbNdbcYPqw43jWt0mPdEk/P9byx657dn/0gyQ/XJXAWkBOGJdeR5uIuLi70aMQLFiEuSPktR8XQY6lrttqkp0XGeX40570UUd+WDVFpRaynuM= ARC-Authentication-Results: i=1; mx.zoho.com; spf=pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass header.from= (p=none dis=none) header.from= Return-Path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by mx.zohomail.com with SMTPS id 1558547771304334.8643587187007; Wed, 22 May 2019 10:56:11 -0700 (PDT) Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 103FE3082B71; Wed, 22 May 2019 17:56:10 +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 CD8FF5B2C9; Wed, 22 May 2019 17:56:09 +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 8A3991806B1D; Wed, 22 May 2019 17:56:09 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id x4MHrM4U020407 for ; Wed, 22 May 2019 13:53:22 -0400 Received: by smtp.corp.redhat.com (Postfix) id 3BEAB60FFE; Wed, 22 May 2019 17:53:22 +0000 (UTC) Received: from kinshicho.brq.redhat.com (unknown [10.43.2.73]) by smtp.corp.redhat.com (Postfix) with ESMTPS id B828A60BE5 for ; Wed, 22 May 2019 17:53:21 +0000 (UTC) From: Andrea Bolognani To: libvir-list@redhat.com Date: Wed, 22 May 2019 19:53:00 +0200 Message-Id: <20190522175307.14017-10-abologna@redhat.com> In-Reply-To: <20190522175307.14017-1-abologna@redhat.com> References: <20190522175307.14017-1-abologna@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 X-loop: libvir-list@redhat.com Subject: [libvirt] [PATCH 09/16] examples: Install nwfilters without shell scripting 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: , Content-Transfer-Encoding: quoted-printable Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.84 on 10.5.11.23 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.45]); Wed, 22 May 2019 17:56:10 +0000 (UTC) Content-Type: text/plain; charset="utf-8" We're doing nothing more than copying files to a target directory, so we don't need any custom shell commands and can just use the standard autotools data installation support instead. Signed-off-by: Andrea Bolognani --- examples/Makefile.am | 23 ++++------------------- 1 file changed, 4 insertions(+), 19 deletions(-) diff --git a/examples/Makefile.am b/examples/Makefile.am index 8c7f4a3d64..67d959c6a3 100644 --- a/examples/Makefile.am +++ b/examples/Makefile.am @@ -90,38 +90,23 @@ admin_client_info_SOURCES =3D admin/client_info.c admin_client_close_SOURCES =3D admin/client_close.c admin_logging_SOURCES =3D admin/logging.c =20 -INSTALL_DATA_LOCAL =3D -UNINSTALL_LOCAL =3D - if WITH_NWFILTER -NWFILTER_DIR =3D "$(DESTDIR)$(sysconfdir)/libvirt/nwfilter" - -install-nwfilter-local: - $(MKDIR_P) "$(NWFILTER_DIR)" - for f in $(FILTERS); do \ - $(INSTALL_DATA) $$f "$(NWFILTER_DIR)"; \ - done =20 -uninstall-nwfilter-local:: - for f in $(FILTERS); do \ - rm -f "$(NWFILTER_DIR)/`basename $$f`"; \ - done - -test -z "$(shell ls $(NWFILTER_DIR))" || rmdir $(NWFILTER_DIR) +nwfilterdir =3D $(sysconfdir)/libvirt/nwfilter +nwfilter_DATA =3D $(FILTERS) =20 -INSTALL_DATA_LOCAL +=3D install-nwfilter-local -UNINSTALL_LOCAL +=3D uninstall-nwfilter-local endif WITH_NWFILTER =20 examplesdir =3D $(docdir)/examples =20 -install-data-local: $(INSTALL_DATA_LOCAL) +install-data-local: for p in $(EXAMPLES); do \ d=3D$$(dirname $$p); \ $(mkinstalldirs) $(DESTDIR)$(examplesdir)/$$d; \ $(INSTALL_DATA) $(srcdir)/$${p}.c $(DESTDIR)$(examplesdir)/$$d/; \ done =20 -uninstall-local: $(UNINSTALL_LOCAL) +uninstall-local: for p in $(EXAMPLES); do \ rm -f $(DESTDIR)$(examplesdir)/$${p}.c; \ done --=20 2.21.0 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list From nobody Mon Apr 29 01:41:54 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) client-ip=209.132.183.28; envelope-from=libvir-list-bounces@redhat.com; helo=mx1.redhat.com; Authentication-Results: mx.zohomail.com; spf=pass (zoho.com: domain of redhat.com designates 209.132.183.28 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=1558547799; cv=none; d=zoho.com; s=zohoarc; b=bTttxKMdgMpYuwbVnwCdorp8BGZz6HJf4haR07HdTl6i0T3ee5qxX909YwqyaQM421vxh/R9ggs1YsEGZtzh3GfY9NPsurvcuhcoCZu6pgzFKTG/wDhXbApPZOuAosM1CeJltMmtlhYkgw/SOmMTxNGjlutbBj/MJSE2BbrAfYE= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1558547799; 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:ARC-Authentication-Results; bh=br67ee0OrSV/6OYSIQR7tN3PKf462XdkCPR8w1R17KU=; b=ZA4nf+h0SSAMJYWAaWlDnIGRaPea2qndqeA0AAe5IQtFovZGTpoZE4O3VFIDjyL+dUgxsct4Y22q30UqH98J72YZeHvz7xMLVT6gy1GYW3ggQtQzg2PXkNWN8sLpyUr9HqBbjPYX9w+k07pKiKk5HdL/BCP0xwK3aO01kpNAico= ARC-Authentication-Results: i=1; mx.zoho.com; spf=pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass header.from= (p=none dis=none) header.from= Return-Path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by mx.zohomail.com with SMTPS id 1558547799367809.2600019435915; Wed, 22 May 2019 10:56:39 -0700 (PDT) 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 mx1.redhat.com (Postfix) with ESMTPS id 322CC99C4B; Wed, 22 May 2019 17:56:38 +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 0819F5C296; Wed, 22 May 2019 17:56:38 +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 C0A4F5EC6B; Wed, 22 May 2019 17:56:37 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id x4MHrNEB020420 for ; Wed, 22 May 2019 13:53:23 -0400 Received: by smtp.corp.redhat.com (Postfix) id 0D4A060FFE; Wed, 22 May 2019 17:53:23 +0000 (UTC) Received: from kinshicho.brq.redhat.com (unknown [10.43.2.73]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 8942D60BE5 for ; Wed, 22 May 2019 17:53:22 +0000 (UTC) From: Andrea Bolognani To: libvir-list@redhat.com Date: Wed, 22 May 2019 19:53:01 +0200 Message-Id: <20190522175307.14017-11-abologna@redhat.com> In-Reply-To: <20190522175307.14017-1-abologna@redhat.com> References: <20190522175307.14017-1-abologna@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 X-loop: libvir-list@redhat.com Subject: [libvirt] [PATCH 10/16] examples: Install Polkit examples 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: , Content-Transfer-Encoding: quoted-printable 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-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.38]); Wed, 22 May 2019 17:56:38 +0000 (UTC) Content-Type: text/plain; charset="utf-8" Right now we install the files in RPMs only, and we include them in the -daemon package which is probably not the best option either. Start installing them via autotools; the RPMs will get them automatically in the -docs package. Signed-off-by: Andrea Bolognani --- examples/Makefile.am | 9 ++++++++- libvirt.spec.in | 2 -- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/examples/Makefile.am b/examples/Makefile.am index 67d959c6a3..4122219e22 100644 --- a/examples/Makefile.am +++ b/examples/Makefile.am @@ -18,9 +18,13 @@ =20 FILTERS =3D $(wildcard $(srcdir)/xml/nwfilter/*.xml) =20 +POLKIT_EXAMPLES =3D \ + $(wildcard $(srcdir)/polkit/*.rules) \ + $(NULL) + EXTRA_DIST =3D \ lxcconvert/virt-lxc-convert \ - polkit/libvirt-acl.rules \ + $(POLKIT_EXAMPLES) \ $(wildcard $(srcdir)/systemtap/*.stp) \ $(FILTERS) \ $(wildcard $(srcdir)/xml/storage/*.xml) \ @@ -99,6 +103,9 @@ endif WITH_NWFILTER =20 examplesdir =3D $(docdir)/examples =20 +polkitexamplesdir =3D $(examplesdir)/polkit +polkitexamples_DATA =3D $(POLKIT_EXAMPLES) + install-data-local: for p in $(EXAMPLES); do \ d=3D$$(dirname $$p); \ diff --git a/libvirt.spec.in b/libvirt.spec.in index 06cdce9a2f..7157b449a1 100644 --- a/libvirt.spec.in +++ b/libvirt.spec.in @@ -1572,8 +1572,6 @@ exit 0 %{_mandir}/man8/virtlockd.8* %{_mandir}/man7/virkey*.7* =20 -%doc examples/polkit/*.rules - %files daemon-config-network %dir %{_datadir}/libvirt/networks/ %{_datadir}/libvirt/networks/default.xml --=20 2.21.0 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list From nobody Mon Apr 29 01:41:54 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) client-ip=209.132.183.28; envelope-from=libvir-list-bounces@redhat.com; helo=mx1.redhat.com; Authentication-Results: mx.zohomail.com; spf=pass (zoho.com: domain of redhat.com designates 209.132.183.28 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=1558547609; cv=none; d=zoho.com; s=zohoarc; b=ZIxTO4h5twxRu4Xyd6GbSuu/u+WIbVjMaKNNU0jFh3STO+I3lfprims2HbnCKUOPjxntcAlb7J5UBXY0wr4xxpaJXa8bYku0vZ3V8J7iEP7q9eQCFqVbxAPUOi05FYXwW+cWuhtOKMwvqwyRZhp02GZUnFXgLxpGENuOfTxs7wM= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1558547609; 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:ARC-Authentication-Results; bh=b2RBg4uMIRkZtaHACXHGb0EOGSbS5tijSSWibEfFKp8=; b=QPgY25I5KMNFJJKlrTZtIhczUPLa4rE8wAYQ77sDtjaajJ0jMJsHxs35FpQ6tBgs9ue9kMsyf1LTGXK5d7FAj7HnguUmU/WJUZau5YtM5WbTlGUoDJRyyvpZTU1M3JeuV2RSI9ZDNOjO7/8uA3/90hBmdOvOWdBxHuQUUorpSaI= ARC-Authentication-Results: i=1; mx.zoho.com; spf=pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass header.from= (p=none dis=none) header.from= Return-Path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by mx.zohomail.com with SMTPS id 155854760906841.97697879946145; Wed, 22 May 2019 10:53:29 -0700 (PDT) Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 354BB3084294; Wed, 22 May 2019 17:53:26 +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 0C2DF600C0; Wed, 22 May 2019 17:53:26 +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 C4A231806B15; Wed, 22 May 2019 17:53:25 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id x4MHrNva020432 for ; Wed, 22 May 2019 13:53:23 -0400 Received: by smtp.corp.redhat.com (Postfix) id D49A160FFE; Wed, 22 May 2019 17:53:23 +0000 (UTC) Received: from kinshicho.brq.redhat.com (unknown [10.43.2.73]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 5B94860BE5 for ; Wed, 22 May 2019 17:53:23 +0000 (UTC) From: Andrea Bolognani To: libvir-list@redhat.com Date: Wed, 22 May 2019 19:53:02 +0200 Message-Id: <20190522175307.14017-12-abologna@redhat.com> In-Reply-To: <20190522175307.14017-1-abologna@redhat.com> References: <20190522175307.14017-1-abologna@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 X-loop: libvir-list@redhat.com Subject: [libvirt] [PATCH 11/16] examples: Install SystemTap examples 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: , Content-Transfer-Encoding: quoted-printable Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.40]); Wed, 22 May 2019 17:53:26 +0000 (UTC) Content-Type: text/plain; charset="utf-8" Signed-off-by: Andrea Bolognani --- examples/Makefile.am | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/examples/Makefile.am b/examples/Makefile.am index 4122219e22..7a15decc00 100644 --- a/examples/Makefile.am +++ b/examples/Makefile.am @@ -22,10 +22,14 @@ POLKIT_EXAMPLES =3D \ $(wildcard $(srcdir)/polkit/*.rules) \ $(NULL) =20 +SYSTEMTAP_EXAMPLES =3D \ + $(wildcard $(srcdir)/systemtap/*.stp) \ + $(NULL) + EXTRA_DIST =3D \ lxcconvert/virt-lxc-convert \ $(POLKIT_EXAMPLES) \ - $(wildcard $(srcdir)/systemtap/*.stp) \ + $(SYSTEMTAP_EXAMPLES) \ $(FILTERS) \ $(wildcard $(srcdir)/xml/storage/*.xml) \ $(wildcard $(srcdir)/xml/test/*.xml) @@ -106,6 +110,9 @@ examplesdir =3D $(docdir)/examples polkitexamplesdir =3D $(examplesdir)/polkit polkitexamples_DATA =3D $(POLKIT_EXAMPLES) =20 +systemtapexamplesdir =3D $(examplesdir)/systemtap +systemtapexamples_DATA =3D $(SYSTEMTAP_EXAMPLES) + install-data-local: for p in $(EXAMPLES); do \ d=3D$$(dirname $$p); \ --=20 2.21.0 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list From nobody Mon Apr 29 01:41:54 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) client-ip=209.132.183.28; envelope-from=libvir-list-bounces@redhat.com; helo=mx1.redhat.com; Authentication-Results: mx.zohomail.com; spf=pass (zoho.com: domain of redhat.com designates 209.132.183.28 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=1558547803; cv=none; d=zoho.com; s=zohoarc; b=U2ask2lwETjzhkyvzQzkha5GckuBMODz3v7tDBwAXtBNhEyKCnoA9KOLMl4+u9Hjd9pU6XuRWtze3uEQ6LoCE6lu6p6tll0k2Zk3KwUtPKkXEeZN1sr1Ee/GyZu31E1wbGamEaVM8k6VknxoWn/T0akxyJ+weLWAPM/aUpQT4oY= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1558547803; 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:ARC-Authentication-Results; bh=aIWgODOv4NdiXg0ElrUuya2xcRawHWpsvoBarTDwqfU=; b=oCNXMaawib1cBocvn23863xfWpgGh9LU12ePW4XGuA+9O3vqemU+nAncuAx4tYgkuAx44NOKxzFOb/0HWHsqxpzB580Ha+IvfD/nuhyaJoELJUKNrMdFcauFfgWHq9EiaVnmIxBOqJUd0ClJNSKwn9vECETUZ9oL/X+TX00A6eM= ARC-Authentication-Results: i=1; mx.zoho.com; spf=pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass header.from= (p=none dis=none) header.from= Return-Path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by mx.zohomail.com with SMTPS id 1558547803907919.8937474807287; Wed, 22 May 2019 10:56:43 -0700 (PDT) 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 mx1.redhat.com (Postfix) with ESMTPS id 9A6A487648; Wed, 22 May 2019 17:56:42 +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 7025F66844; Wed, 22 May 2019 17:56:42 +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 317D25EC6E; Wed, 22 May 2019 17:56:42 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id x4MHrOHM020439 for ; Wed, 22 May 2019 13:53:24 -0400 Received: by smtp.corp.redhat.com (Postfix) id A6FEA60FFE; Wed, 22 May 2019 17:53:24 +0000 (UTC) Received: from kinshicho.brq.redhat.com (unknown [10.43.2.73]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 2F32560BE5 for ; Wed, 22 May 2019 17:53:24 +0000 (UTC) From: Andrea Bolognani To: libvir-list@redhat.com Date: Wed, 22 May 2019 19:53:03 +0200 Message-Id: <20190522175307.14017-13-abologna@redhat.com> In-Reply-To: <20190522175307.14017-1-abologna@redhat.com> References: <20190522175307.14017-1-abologna@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 X-loop: libvir-list@redhat.com Subject: [libvirt] [PATCH 12/16] examples: Install remaining XML examples 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: , Content-Transfer-Encoding: quoted-printable 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-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.26]); Wed, 22 May 2019 17:56:43 +0000 (UTC) Content-Type: text/plain; charset="utf-8" We already install nwfilters separately. Signed-off-by: Andrea Bolognani --- examples/Makefile.am | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/examples/Makefile.am b/examples/Makefile.am index 7a15decc00..c0d0100c9f 100644 --- a/examples/Makefile.am +++ b/examples/Makefile.am @@ -22,17 +22,26 @@ POLKIT_EXAMPLES =3D \ $(wildcard $(srcdir)/polkit/*.rules) \ $(NULL) =20 +STORAGE_XML_EXAMPLES =3D \ + $(wildcard $(srcdir)/xml/storage/*.xml) \ + $(NULL) + SYSTEMTAP_EXAMPLES =3D \ $(wildcard $(srcdir)/systemtap/*.stp) \ $(NULL) =20 +TEST_XML_EXAMPLES =3D \ + $(wildcard $(srcdir)/xml/test/*.xml) \ + $(NULL) + EXTRA_DIST =3D \ lxcconvert/virt-lxc-convert \ $(POLKIT_EXAMPLES) \ + $(STORAGE_XML_EXAMPLES) \ $(SYSTEMTAP_EXAMPLES) \ + $(TEST_XML_EXAMPLES) \ $(FILTERS) \ - $(wildcard $(srcdir)/xml/storage/*.xml) \ - $(wildcard $(srcdir)/xml/test/*.xml) + $(NULL) =20 AM_CPPFLAGS =3D \ -I$(top_builddir)/include \ @@ -110,9 +119,15 @@ examplesdir =3D $(docdir)/examples polkitexamplesdir =3D $(examplesdir)/polkit polkitexamples_DATA =3D $(POLKIT_EXAMPLES) =20 +storagexmlexamplesdir =3D $(examplesdir)/xml/storage +storagexmlexamples_DATA =3D $(STORAGE_XML_EXAMPLES) + systemtapexamplesdir =3D $(examplesdir)/systemtap systemtapexamples_DATA =3D $(SYSTEMTAP_EXAMPLES) =20 +testxmlexamplesdir =3D $(examplesdir)/xml/test +testxmlexamples_DATA =3D $(TEST_XML_EXAMPLES) + install-data-local: for p in $(EXAMPLES); do \ d=3D$$(dirname $$p); \ --=20 2.21.0 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list From nobody Mon Apr 29 01:41:54 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) client-ip=209.132.183.28; envelope-from=libvir-list-bounces@redhat.com; helo=mx1.redhat.com; Authentication-Results: mx.zohomail.com; spf=pass (zoho.com: domain of redhat.com designates 209.132.183.28 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=1558547779; cv=none; d=zoho.com; s=zohoarc; b=L4YIQbREGyU2kGjMBtvl8R9rOJERQhP4wwrJJl96+f9IFNHL5huyw3LFuQtbfU2gbo9bG/KqgagsU8K4x0qerpX+6fIITAvRyH0l1TV98ycJMg+IwFnlNXBfikWBchlXBeyRFIXBl5m5FlxUJDfhdjipESoGq30AOENXgUBD8WU= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1558547779; 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:ARC-Authentication-Results; bh=GPNM7KAeyWf61evmtaSUrl9W/v7SxuehMA86NYQg9RE=; b=mVLnkzE+qx8lHJ5M9qulOvluJj/ZFVQf+qTQ1alBv4GPDoHHDv5uHZlW8DSQGZwfVBAhicji0EPieuXV6vxpYVBdMjtX00Aw7nC/iVm/odo/ajHXROQ94ACQHPwodTrcGn6HCJqnKWWAJo9sjYMqFlH/27RNBLfUXJiZD90211E= ARC-Authentication-Results: i=1; mx.zoho.com; spf=pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass header.from= (p=none dis=none) header.from= Return-Path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by mx.zohomail.com with SMTPS id 1558547779008677.7633613693577; Wed, 22 May 2019 10:56:19 -0700 (PDT) Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id E5FCC307E051; Wed, 22 May 2019 17:56:17 +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 C3685607BE; Wed, 22 May 2019 17:56:17 +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 8CF9F5B427; Wed, 22 May 2019 17:56:17 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id x4MHrPPi020447 for ; Wed, 22 May 2019 13:53:25 -0400 Received: by smtp.corp.redhat.com (Postfix) id 794FE60FFE; Wed, 22 May 2019 17:53:25 +0000 (UTC) Received: from kinshicho.brq.redhat.com (unknown [10.43.2.73]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 0090860BE5 for ; Wed, 22 May 2019 17:53:24 +0000 (UTC) From: Andrea Bolognani To: libvir-list@redhat.com Date: Wed, 22 May 2019 19:53:04 +0200 Message-Id: <20190522175307.14017-14-abologna@redhat.com> In-Reply-To: <20190522175307.14017-1-abologna@redhat.com> References: <20190522175307.14017-1-abologna@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 X-loop: libvir-list@redhat.com Subject: [libvirt] [PATCH 13/16] examples: Move and install shell examples 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: , Content-Transfer-Encoding: quoted-printable Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.42]); Wed, 22 May 2019 17:56:18 +0000 (UTC) Content-Type: text/plain; charset="utf-8" The virt-lxc-convert shell script is at this point the only example we don't install on the target system. Create a sh/ subdirectory, following the example set by the existing polkit/, systemtap/ and xml/, and move the script there; then add rules that will install all example shell scripts as documentation. Signed-off-by: Andrea Bolognani --- examples/Makefile.am | 9 ++++++++- examples/{lxcconvert =3D> sh}/virt-lxc-convert | 0 2 files changed, 8 insertions(+), 1 deletion(-) rename examples/{lxcconvert =3D> sh}/virt-lxc-convert (100%) diff --git a/examples/Makefile.am b/examples/Makefile.am index c0d0100c9f..d613135086 100644 --- a/examples/Makefile.am +++ b/examples/Makefile.am @@ -22,6 +22,10 @@ POLKIT_EXAMPLES =3D \ $(wildcard $(srcdir)/polkit/*.rules) \ $(NULL) =20 +SH_EXAMPLES =3D \ + $(wildcard $(srcdir)/sh/*) \ + $(NULL) + STORAGE_XML_EXAMPLES =3D \ $(wildcard $(srcdir)/xml/storage/*.xml) \ $(NULL) @@ -35,8 +39,8 @@ TEST_XML_EXAMPLES =3D \ $(NULL) =20 EXTRA_DIST =3D \ - lxcconvert/virt-lxc-convert \ $(POLKIT_EXAMPLES) \ + $(SH_EXAMPLES) \ $(STORAGE_XML_EXAMPLES) \ $(SYSTEMTAP_EXAMPLES) \ $(TEST_XML_EXAMPLES) \ @@ -119,6 +123,9 @@ examplesdir =3D $(docdir)/examples polkitexamplesdir =3D $(examplesdir)/polkit polkitexamples_DATA =3D $(POLKIT_EXAMPLES) =20 +shexamplesdir =3D $(examplesdir)/sh +shexamples_DATA =3D $(SH_EXAMPLES) + storagexmlexamplesdir =3D $(examplesdir)/xml/storage storagexmlexamples_DATA =3D $(STORAGE_XML_EXAMPLES) =20 diff --git a/examples/lxcconvert/virt-lxc-convert b/examples/sh/virt-lxc-co= nvert similarity index 100% rename from examples/lxcconvert/virt-lxc-convert rename to examples/sh/virt-lxc-convert --=20 2.21.0 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list From nobody Mon Apr 29 01:41:54 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) client-ip=209.132.183.28; envelope-from=libvir-list-bounces@redhat.com; helo=mx1.redhat.com; Authentication-Results: mx.zohomail.com; spf=pass (zoho.com: domain of redhat.com designates 209.132.183.28 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=1558547816; cv=none; d=zoho.com; s=zohoarc; b=Goz7UCsl79qt+PiGTJeLyFvQ4NBmaTtc8ol+irgqXo4DWXVVJay3KtLcNeUxBcAEZNEo2T4d3tzBGwHmeb4H7e+sN9UK2khtyPeMLOdMh8QUD1UB1XkHaEjKMdR2KQjA9UNS9PFE+rTjWTghDldgHzwvmxuw8Yit1NsCDHoibdw= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1558547816; 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:ARC-Authentication-Results; bh=e95pycg3mPNReIPC/1c9d/Vejwtj7qOTIJlbmvYuDs8=; b=PHkm1eGzyAJ9dnRy0JM6HlNboDuoXFmBNECz5Z0Z6o7oHyhzfHx3W3b8TZWnICKQQb6LhSAhOURzg000+sRMegW9Mqc29z4GjhfiaCRLQ9dOW73o2aNASYqQf6mSjyqmUdD5LyxJnzbat3wGxwHBDN4Dr9vpjvzexyxa6Sef+Y0= ARC-Authentication-Results: i=1; mx.zoho.com; spf=pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass header.from= (p=none dis=none) header.from= Return-Path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by mx.zohomail.com with SMTPS id 155854781659531.53383397011453; Wed, 22 May 2019 10:56:56 -0700 (PDT) Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 4512259463; Wed, 22 May 2019 17:56:55 +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 10C9C600C0; Wed, 22 May 2019 17:56: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 AB44C5EC74; Wed, 22 May 2019 17:56:54 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id x4MHrQSr020463 for ; Wed, 22 May 2019 13:53:26 -0400 Received: by smtp.corp.redhat.com (Postfix) id 4975960FFE; Wed, 22 May 2019 17:53:26 +0000 (UTC) Received: from kinshicho.brq.redhat.com (unknown [10.43.2.73]) by smtp.corp.redhat.com (Postfix) with ESMTPS id C688F60BE5 for ; Wed, 22 May 2019 17:53:25 +0000 (UTC) From: Andrea Bolognani To: libvir-list@redhat.com Date: Wed, 22 May 2019 19:53:05 +0200 Message-Id: <20190522175307.14017-15-abologna@redhat.com> In-Reply-To: <20190522175307.14017-1-abologna@redhat.com> References: <20190522175307.14017-1-abologna@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 X-loop: libvir-list@redhat.com Subject: [libvirt] [PATCH 14/16] examples: Organize C examples into categories 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: , Content-Transfer-Encoding: quoted-printable Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.39]); Wed, 22 May 2019 17:56:55 +0000 (UTC) Content-Type: text/plain; charset="utf-8" Most C examples live in their own directory, which seems a bit unnecessary especially considering that all virt-admin related examples share a single admin/ directory. Reorganize non-admin C examples in two categories: domain/ for those that act on a domain, and misc/ for everything else. Signed-off-by: Andrea Bolognani --- .gitignore | 16 +++---- examples/Makefile.am | 45 +++++++++---------- examples/{dommigrate =3D> domain}/dommigrate.c | 0 examples/{domtop =3D> domain}/domtop.c | 0 examples/{dominfo =3D> domain}/info1.c | 0 examples/{rename =3D> domain}/rename.c | 0 examples/{domsuspend =3D> domain}/suspend.c | 0 examples/{object-events =3D> misc}/event-test.c | 0 .../{hellolibvirt =3D> misc}/hellolibvirt.c | 0 examples/{openauth =3D> misc}/openauth.c | 0 10 files changed, 29 insertions(+), 32 deletions(-) rename examples/{dommigrate =3D> domain}/dommigrate.c (100%) rename examples/{domtop =3D> domain}/domtop.c (100%) rename examples/{dominfo =3D> domain}/info1.c (100%) rename examples/{rename =3D> domain}/rename.c (100%) rename examples/{domsuspend =3D> domain}/suspend.c (100%) rename examples/{object-events =3D> misc}/event-test.c (100%) rename examples/{hellolibvirt =3D> misc}/hellolibvirt.c (100%) rename examples/{openauth =3D> misc}/openauth.c (100%) diff --git a/.gitignore b/.gitignore index 16eb4a3e2e..c15263037d 100644 --- a/.gitignore +++ b/.gitignore @@ -75,14 +75,14 @@ /examples/admin/list_servers /examples/admin/logging /examples/admin/threadpool_params -/examples/object-events/event-test -/examples/dominfo/info1 -/examples/domsuspend/suspend -/examples/dommigrate/dommigrate -/examples/domtop/domtop -/examples/hellolibvirt/hellolibvirt -/examples/openauth/openauth -/examples/rename/rename +/examples/domain/dommigrate +/examples/domain/domtop +/examples/domain/info1 +/examples/domain/rename +/examples/domain/suspend +/examples/misc/event-test +/examples/misc/hellolibvirt +/examples/misc/openauth /gnulib/lib/* /gnulib/m4/* /gnulib/tests/* diff --git a/examples/Makefile.am b/examples/Makefile.am index d613135086..832e5fea08 100644 --- a/examples/Makefile.am +++ b/examples/Makefile.am @@ -78,38 +78,35 @@ EXAMPLES =3D \ admin/list_servers \ admin/logging \ admin/threadpool_params \ - dominfo/info1 \ - dommigrate/dommigrate \ - domsuspend/suspend \ - domtop/domtop \ - hellolibvirt/hellolibvirt \ - object-events/event-test \ - openauth/openauth \ - rename/rename \ + domain/dommigrate \ + domain/domtop \ + domain/info1 \ + domain/rename \ + domain/suspend \ + misc/event-test \ + misc/hellolibvirt \ + misc/openauth \ $(NULL) =20 noinst_PROGRAMS =3D \ $(EXAMPLES) \ $(NULL) =20 -dominfo_info1_SOURCES =3D dominfo/info1.c -dommigrate_dommigrate_SOURCES =3D dommigrate/dommigrate.c -domsuspend_suspend_SOURCES =3D domsuspend/suspend.c -domtop_domtop_SOURCES =3D domtop/domtop.c -hellolibvirt_hellolibvirt_SOURCES =3D hellolibvirt/hellolibvirt.c - -object_events_event_test_SOURCES =3D object-events/event-test.c - -openauth_openauth_SOURCES =3D openauth/openauth.c -rename_rename_SOURCES =3D rename/rename.c - -admin_list_servers_SOURCES =3D admin/list_servers.c -admin_list_clients_SOURCES =3D admin/list_clients.c -admin_threadpool_params_SOURCES =3D admin/threadpool_params.c -admin_client_limits_SOURCES =3D admin/client_limits.c -admin_client_info_SOURCES =3D admin/client_info.c admin_client_close_SOURCES =3D admin/client_close.c +admin_client_info_SOURCES =3D admin/client_info.c +admin_client_limits_SOURCES =3D admin/client_limits.c +admin_list_clients_SOURCES =3D admin/list_clients.c +admin_list_servers_SOURCES =3D admin/list_servers.c admin_logging_SOURCES =3D admin/logging.c +admin_threadpool_params_SOURCES =3D admin/threadpool_params.c +domain_dommigrate_SOURCES =3D domain/dommigrate.c +domain_domtop_SOURCES =3D domain/domtop.c +domain_info1_SOURCES =3D domain/info1.c +domain_rename_SOURCES =3D domain/rename.c +domain_suspend_SOURCES =3D domain/suspend.c +misc_event_test_SOURCES =3D misc/event-test.c +misc_hellolibvirt_SOURCES =3D misc/hellolibvirt.c +misc_openauth_SOURCES =3D misc/openauth.c =20 if WITH_NWFILTER =20 diff --git a/examples/dommigrate/dommigrate.c b/examples/domain/dommigrate.c similarity index 100% rename from examples/dommigrate/dommigrate.c rename to examples/domain/dommigrate.c diff --git a/examples/domtop/domtop.c b/examples/domain/domtop.c similarity index 100% rename from examples/domtop/domtop.c rename to examples/domain/domtop.c diff --git a/examples/dominfo/info1.c b/examples/domain/info1.c similarity index 100% rename from examples/dominfo/info1.c rename to examples/domain/info1.c diff --git a/examples/rename/rename.c b/examples/domain/rename.c similarity index 100% rename from examples/rename/rename.c rename to examples/domain/rename.c diff --git a/examples/domsuspend/suspend.c b/examples/domain/suspend.c similarity index 100% rename from examples/domsuspend/suspend.c rename to examples/domain/suspend.c diff --git a/examples/object-events/event-test.c b/examples/misc/event-test= .c similarity index 100% rename from examples/object-events/event-test.c rename to examples/misc/event-test.c diff --git a/examples/hellolibvirt/hellolibvirt.c b/examples/misc/hellolibv= irt.c similarity index 100% rename from examples/hellolibvirt/hellolibvirt.c rename to examples/misc/hellolibvirt.c diff --git a/examples/openauth/openauth.c b/examples/misc/openauth.c similarity index 100% rename from examples/openauth/openauth.c rename to examples/misc/openauth.c --=20 2.21.0 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list From nobody Mon Apr 29 01:41:54 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) client-ip=209.132.183.28; envelope-from=libvir-list-bounces@redhat.com; helo=mx1.redhat.com; Authentication-Results: mx.zohomail.com; spf=pass (zoho.com: domain of redhat.com designates 209.132.183.28 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=1558547829; cv=none; d=zoho.com; s=zohoarc; b=og0BaCHIlH2/qrCkrjKNdgNPXjNs4K8DlSDJNkth3451Dey3L6ucOmfYPyLHYTmnr69243R/2xuwKrAwZe/iCXzsyHtuYYFQQYqA7PXROxfwX6bYj+9UiwIuOaLKHneRpx23SI6zBlNjjESmlCe3m6j15Na054hiWNOrlA6M8BU= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1558547829; 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:ARC-Authentication-Results; bh=bIlexbfr9/TnHvDHGi8QLKSu3E/8mFl87z0MhDi8Q6Q=; b=ijeb2WWhOX3e5kjpgNt1UdbsqKheSue1MJyibJ/QHO4TML1SEW83rY+J1zrr5G0OzBun1YDDh6lSiWTS3LXYsrPlAh2D4lUighxqbxtJ0Q4sfMBXmk8ImQLhoPZvW/g+9H4cJhGJvuakn2WdBthuE9B/MruvTpnSN8HntQaMrMY= ARC-Authentication-Results: i=1; mx.zoho.com; spf=pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass header.from= (p=none dis=none) header.from= Return-Path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by mx.zohomail.com with SMTPS id 1558547829644378.94786496634515; Wed, 22 May 2019 10:57:09 -0700 (PDT) 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 mx1.redhat.com (Postfix) with ESMTPS id 11A4B3079B60; Wed, 22 May 2019 17:57: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 890C7648DD; Wed, 22 May 2019 17:57:02 +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 2A8FD1806B1C; Wed, 22 May 2019 17:57:02 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id x4MHrR5C020475 for ; Wed, 22 May 2019 13:53:27 -0400 Received: by smtp.corp.redhat.com (Postfix) id 1AD3360FFE; Wed, 22 May 2019 17:53:27 +0000 (UTC) Received: from kinshicho.brq.redhat.com (unknown [10.43.2.73]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 972B060BE5 for ; Wed, 22 May 2019 17:53:26 +0000 (UTC) From: Andrea Bolognani To: libvir-list@redhat.com Date: Wed, 22 May 2019 19:53:06 +0200 Message-Id: <20190522175307.14017-16-abologna@redhat.com> In-Reply-To: <20190522175307.14017-1-abologna@redhat.com> References: <20190522175307.14017-1-abologna@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 X-loop: libvir-list@redhat.com Subject: [libvirt] [PATCH 15/16] examples: Rework C examples installation 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: , Content-Transfer-Encoding: quoted-printable Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.41]); Wed, 22 May 2019 17:57:09 +0000 (UTC) Content-Type: text/plain; charset="utf-8" Now that all C examples are neatly sorted into only three categories, getting rid of our custom installation machinery and replacing it with the standard autotools mechanism finally becomes feasible. Signed-off-by: Andrea Bolognani --- examples/Makefile.am | 44 ++++++++++++++++++++++---------------------- 1 file changed, 22 insertions(+), 22 deletions(-) diff --git a/examples/Makefile.am b/examples/Makefile.am index 832e5fea08..50dae304e8 100644 --- a/examples/Makefile.am +++ b/examples/Makefile.am @@ -18,6 +18,18 @@ =20 FILTERS =3D $(wildcard $(srcdir)/xml/nwfilter/*.xml) =20 +ADMIN_EXAMPLES =3D \ + $(wildcard $(srcdir)/admin/*.c) \ + $(NULL) + +DOMAIN_EXAMPLES =3D \ + $(wildcard $(srcdir)/domain/*.c) \ + $(NULL) + +MISC_EXAMPLES =3D \ + $(wildcard $(srcdir)/misc/*.c) \ + $(NULL) + POLKIT_EXAMPLES =3D \ $(wildcard $(srcdir)/polkit/*.rules) \ $(NULL) @@ -65,12 +77,7 @@ LDADD =3D \ $(top_builddir)/src/libvirt-admin.la \ $(NULL) =20 -# List of example programs. We need to list them here instead of using -# $(noinst_PROGRAMS) directly because we want to have access to the -# unmodified list during (un)installation, but at the same time automake -# might tweak $(noinst_PROGRAMS) to eg. automatically add the .exe file -# extension when targeting Windows. -EXAMPLES =3D \ +noinst_PROGRAMS =3D \ admin/client_close \ admin/client_info \ admin/client_limits \ @@ -88,10 +95,6 @@ EXAMPLES =3D \ misc/openauth \ $(NULL) =20 -noinst_PROGRAMS =3D \ - $(EXAMPLES) \ - $(NULL) - admin_client_close_SOURCES =3D admin/client_close.c admin_client_info_SOURCES =3D admin/client_info.c admin_client_limits_SOURCES =3D admin/client_limits.c @@ -117,6 +120,15 @@ endif WITH_NWFILTER =20 examplesdir =3D $(docdir)/examples =20 +adminexamplesdir =3D $(examplesdir)/admin +adminexamples_DATA =3D $(ADMIN_EXAMPLES) + +domainexamplesdir =3D $(examplesdir)/domain +domainexamples_DATA =3D $(DOMAIN_EXAMPLES) + +miscexamplesdir =3D $(examplesdir)/misc +miscexamples_DATA =3D $(MISC_EXAMPLES) + polkitexamplesdir =3D $(examplesdir)/polkit polkitexamples_DATA =3D $(POLKIT_EXAMPLES) =20 @@ -131,15 +143,3 @@ systemtapexamples_DATA =3D $(SYSTEMTAP_EXAMPLES) =20 testxmlexamplesdir =3D $(examplesdir)/xml/test testxmlexamples_DATA =3D $(TEST_XML_EXAMPLES) - -install-data-local: - for p in $(EXAMPLES); do \ - d=3D$$(dirname $$p); \ - $(mkinstalldirs) $(DESTDIR)$(examplesdir)/$$d; \ - $(INSTALL_DATA) $(srcdir)/$${p}.c $(DESTDIR)$(examplesdir)/$$d/; \ - done - -uninstall-local: - for p in $(EXAMPLES); do \ - rm -f $(DESTDIR)$(examplesdir)/$${p}.c; \ - done --=20 2.21.0 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list From nobody Mon Apr 29 01:41:54 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) client-ip=209.132.183.28; envelope-from=libvir-list-bounces@redhat.com; helo=mx1.redhat.com; Authentication-Results: mx.zohomail.com; spf=pass (zoho.com: domain of redhat.com designates 209.132.183.28 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=1558547832; cv=none; d=zoho.com; s=zohoarc; b=Bq2OCMQk0yQZEh1EQd5K8ywishx364qt8N4HmMv3jPtom/jOZa9O7VOWlE6OiZfmn0gQBIighN4w/k3KXgFugTRYSqAM+jtkrAFqIKmDSj1Rj4j2EJ/ij9JIlOwGHgKQ6EVQ1bd3tga6lk6wRm8x7QwkNLHyYrNldPF4Fm/6Sfw= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1558547832; 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:ARC-Authentication-Results; bh=mEnl4ekN92KFJUWL959wk996OyKJjqzscKX4qTbIvgM=; b=NtraLh6MEC76h6xrn+U0jWXp+Q0FT39XFWaYYxDLEnOav0T4l2nTem6VlqRduV9i276mfFN49pvfegXyWDQxNH04kaqJtV+hKfPz/2g7ZPx0xNsis+or45QIdBupJ/cM/u6k8kcc3jPjxy1NapBvFzhqH8cXEZ2lK8D/P6SH05M= ARC-Authentication-Results: i=1; mx.zoho.com; spf=pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass header.from= (p=none dis=none) header.from= Return-Path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by mx.zohomail.com with SMTPS id 1558547832886135.8358862275129; Wed, 22 May 2019 10:57:12 -0700 (PDT) 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 mx1.redhat.com (Postfix) with ESMTPS id 7C5EC5D5EF; Wed, 22 May 2019 17:57:11 +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 5131F2E03C; Wed, 22 May 2019 17:57:11 +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 0F2F31806B16; Wed, 22 May 2019 17:57:11 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id x4MHrU7s020510 for ; Wed, 22 May 2019 13:53:30 -0400 Received: by smtp.corp.redhat.com (Postfix) id 40FEC60BE5; Wed, 22 May 2019 17:53:30 +0000 (UTC) Received: from kinshicho.brq.redhat.com (unknown [10.43.2.73]) by smtp.corp.redhat.com (Postfix) with ESMTPS id BD44560FFE for ; Wed, 22 May 2019 17:53:27 +0000 (UTC) From: Andrea Bolognani To: libvir-list@redhat.com Date: Wed, 22 May 2019 19:53:07 +0200 Message-Id: <20190522175307.14017-17-abologna@redhat.com> In-Reply-To: <20190522175307.14017-1-abologna@redhat.com> References: <20190522175307.14017-1-abologna@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 X-loop: libvir-list@redhat.com Subject: [libvirt] [PATCH 16/16] examples: Group all C programs together 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: , Content-Transfer-Encoding: quoted-printable Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.39]); Wed, 22 May 2019 17:57:12 +0000 (UTC) Content-Type: text/plain; charset="utf-8" All other examples are organized using the either the format/ or the format/category/ hierarchy already, and grouping all C programs together removes the last remaining outliers. Signed-off-by: Andrea Bolognani --- .gitignore | 30 ++++----- examples/Makefile.am | 72 +++++++++++----------- examples/{ =3D> c}/admin/client_close.c | 0 examples/{ =3D> c}/admin/client_info.c | 0 examples/{ =3D> c}/admin/client_limits.c | 0 examples/{ =3D> c}/admin/list_clients.c | 0 examples/{ =3D> c}/admin/list_servers.c | 0 examples/{ =3D> c}/admin/logging.c | 0 examples/{ =3D> c}/admin/threadpool_params.c | 0 examples/{ =3D> c}/domain/dommigrate.c | 0 examples/{ =3D> c}/domain/domtop.c | 0 examples/{ =3D> c}/domain/info1.c | 0 examples/{ =3D> c}/domain/rename.c | 0 examples/{ =3D> c}/domain/suspend.c | 0 examples/{ =3D> c}/misc/event-test.c | 0 examples/{ =3D> c}/misc/hellolibvirt.c | 0 examples/{ =3D> c}/misc/openauth.c | 0 17 files changed, 51 insertions(+), 51 deletions(-) rename examples/{ =3D> c}/admin/client_close.c (100%) rename examples/{ =3D> c}/admin/client_info.c (100%) rename examples/{ =3D> c}/admin/client_limits.c (100%) rename examples/{ =3D> c}/admin/list_clients.c (100%) rename examples/{ =3D> c}/admin/list_servers.c (100%) rename examples/{ =3D> c}/admin/logging.c (100%) rename examples/{ =3D> c}/admin/threadpool_params.c (100%) rename examples/{ =3D> c}/domain/dommigrate.c (100%) rename examples/{ =3D> c}/domain/domtop.c (100%) rename examples/{ =3D> c}/domain/info1.c (100%) rename examples/{ =3D> c}/domain/rename.c (100%) rename examples/{ =3D> c}/domain/suspend.c (100%) rename examples/{ =3D> c}/misc/event-test.c (100%) rename examples/{ =3D> c}/misc/hellolibvirt.c (100%) rename examples/{ =3D> c}/misc/openauth.c (100%) diff --git a/.gitignore b/.gitignore index c15263037d..727bfdb6ec 100644 --- a/.gitignore +++ b/.gitignore @@ -68,21 +68,21 @@ /docs/libvirt-refs.xml /docs/news.html.in /docs/todo.html.in -/examples/admin/client_close -/examples/admin/client_info -/examples/admin/client_limits -/examples/admin/list_clients -/examples/admin/list_servers -/examples/admin/logging -/examples/admin/threadpool_params -/examples/domain/dommigrate -/examples/domain/domtop -/examples/domain/info1 -/examples/domain/rename -/examples/domain/suspend -/examples/misc/event-test -/examples/misc/hellolibvirt -/examples/misc/openauth +/examples/c/admin/client_close +/examples/c/admin/client_info +/examples/c/admin/client_limits +/examples/c/admin/list_clients +/examples/c/admin/list_servers +/examples/c/admin/logging +/examples/c/admin/threadpool_params +/examples/c/domain/dommigrate +/examples/c/domain/domtop +/examples/c/domain/info1 +/examples/c/domain/rename +/examples/c/domain/suspend +/examples/c/misc/event-test +/examples/c/misc/hellolibvirt +/examples/c/misc/openauth /gnulib/lib/* /gnulib/m4/* /gnulib/tests/* diff --git a/examples/Makefile.am b/examples/Makefile.am index 50dae304e8..0adb4b42e2 100644 --- a/examples/Makefile.am +++ b/examples/Makefile.am @@ -19,15 +19,15 @@ FILTERS =3D $(wildcard $(srcdir)/xml/nwfilter/*.xml) =20 ADMIN_EXAMPLES =3D \ - $(wildcard $(srcdir)/admin/*.c) \ + $(wildcard $(srcdir)/c/admin/*.c) \ $(NULL) =20 DOMAIN_EXAMPLES =3D \ - $(wildcard $(srcdir)/domain/*.c) \ + $(wildcard $(srcdir)/c/domain/*.c) \ $(NULL) =20 MISC_EXAMPLES =3D \ - $(wildcard $(srcdir)/misc/*.c) \ + $(wildcard $(srcdir)/c/misc/*.c) \ $(NULL) =20 POLKIT_EXAMPLES =3D \ @@ -78,38 +78,38 @@ LDADD =3D \ $(NULL) =20 noinst_PROGRAMS =3D \ - admin/client_close \ - admin/client_info \ - admin/client_limits \ - admin/list_clients \ - admin/list_servers \ - admin/logging \ - admin/threadpool_params \ - domain/dommigrate \ - domain/domtop \ - domain/info1 \ - domain/rename \ - domain/suspend \ - misc/event-test \ - misc/hellolibvirt \ - misc/openauth \ + c/admin/client_close \ + c/admin/client_info \ + c/admin/client_limits \ + c/admin/list_clients \ + c/admin/list_servers \ + c/admin/logging \ + c/admin/threadpool_params \ + c/domain/dommigrate \ + c/domain/domtop \ + c/domain/info1 \ + c/domain/rename \ + c/domain/suspend \ + c/misc/event-test \ + c/misc/hellolibvirt \ + c/misc/openauth \ $(NULL) =20 -admin_client_close_SOURCES =3D admin/client_close.c -admin_client_info_SOURCES =3D admin/client_info.c -admin_client_limits_SOURCES =3D admin/client_limits.c -admin_list_clients_SOURCES =3D admin/list_clients.c -admin_list_servers_SOURCES =3D admin/list_servers.c -admin_logging_SOURCES =3D admin/logging.c -admin_threadpool_params_SOURCES =3D admin/threadpool_params.c -domain_dommigrate_SOURCES =3D domain/dommigrate.c -domain_domtop_SOURCES =3D domain/domtop.c -domain_info1_SOURCES =3D domain/info1.c -domain_rename_SOURCES =3D domain/rename.c -domain_suspend_SOURCES =3D domain/suspend.c -misc_event_test_SOURCES =3D misc/event-test.c -misc_hellolibvirt_SOURCES =3D misc/hellolibvirt.c -misc_openauth_SOURCES =3D misc/openauth.c +c_admin_client_close_SOURCES =3D c/admin/client_close.c +c_admin_client_info_SOURCES =3D c/admin/client_info.c +c_admin_client_limits_SOURCES =3D c/admin/client_limits.c +c_admin_list_clients_SOURCES =3D c/admin/list_clients.c +c_admin_list_servers_SOURCES =3D c/admin/list_servers.c +c_admin_logging_SOURCES =3D c/admin/logging.c +c_admin_threadpool_params_SOURCES =3D c/admin/threadpool_params.c +c_domain_dommigrate_SOURCES =3D c/domain/dommigrate.c +c_domain_domtop_SOURCES =3D c/domain/domtop.c +c_domain_info1_SOURCES =3D c/domain/info1.c +c_domain_rename_SOURCES =3D c/domain/rename.c +c_domain_suspend_SOURCES =3D c/domain/suspend.c +c_misc_event_test_SOURCES =3D c/misc/event-test.c +c_misc_hellolibvirt_SOURCES =3D c/misc/hellolibvirt.c +c_misc_openauth_SOURCES =3D c/misc/openauth.c =20 if WITH_NWFILTER =20 @@ -120,13 +120,13 @@ endif WITH_NWFILTER =20 examplesdir =3D $(docdir)/examples =20 -adminexamplesdir =3D $(examplesdir)/admin +adminexamplesdir =3D $(examplesdir)/c/admin adminexamples_DATA =3D $(ADMIN_EXAMPLES) =20 -domainexamplesdir =3D $(examplesdir)/domain +domainexamplesdir =3D $(examplesdir)/c/domain domainexamples_DATA =3D $(DOMAIN_EXAMPLES) =20 -miscexamplesdir =3D $(examplesdir)/misc +miscexamplesdir =3D $(examplesdir)/c/misc miscexamples_DATA =3D $(MISC_EXAMPLES) =20 polkitexamplesdir =3D $(examplesdir)/polkit diff --git a/examples/admin/client_close.c b/examples/c/admin/client_close.c similarity index 100% rename from examples/admin/client_close.c rename to examples/c/admin/client_close.c diff --git a/examples/admin/client_info.c b/examples/c/admin/client_info.c similarity index 100% rename from examples/admin/client_info.c rename to examples/c/admin/client_info.c diff --git a/examples/admin/client_limits.c b/examples/c/admin/client_limit= s.c similarity index 100% rename from examples/admin/client_limits.c rename to examples/c/admin/client_limits.c diff --git a/examples/admin/list_clients.c b/examples/c/admin/list_clients.c similarity index 100% rename from examples/admin/list_clients.c rename to examples/c/admin/list_clients.c diff --git a/examples/admin/list_servers.c b/examples/c/admin/list_servers.c similarity index 100% rename from examples/admin/list_servers.c rename to examples/c/admin/list_servers.c diff --git a/examples/admin/logging.c b/examples/c/admin/logging.c similarity index 100% rename from examples/admin/logging.c rename to examples/c/admin/logging.c diff --git a/examples/admin/threadpool_params.c b/examples/c/admin/threadpo= ol_params.c similarity index 100% rename from examples/admin/threadpool_params.c rename to examples/c/admin/threadpool_params.c diff --git a/examples/domain/dommigrate.c b/examples/c/domain/dommigrate.c similarity index 100% rename from examples/domain/dommigrate.c rename to examples/c/domain/dommigrate.c diff --git a/examples/domain/domtop.c b/examples/c/domain/domtop.c similarity index 100% rename from examples/domain/domtop.c rename to examples/c/domain/domtop.c diff --git a/examples/domain/info1.c b/examples/c/domain/info1.c similarity index 100% rename from examples/domain/info1.c rename to examples/c/domain/info1.c diff --git a/examples/domain/rename.c b/examples/c/domain/rename.c similarity index 100% rename from examples/domain/rename.c rename to examples/c/domain/rename.c diff --git a/examples/domain/suspend.c b/examples/c/domain/suspend.c similarity index 100% rename from examples/domain/suspend.c rename to examples/c/domain/suspend.c diff --git a/examples/misc/event-test.c b/examples/c/misc/event-test.c similarity index 100% rename from examples/misc/event-test.c rename to examples/c/misc/event-test.c diff --git a/examples/misc/hellolibvirt.c b/examples/c/misc/hellolibvirt.c similarity index 100% rename from examples/misc/hellolibvirt.c rename to examples/c/misc/hellolibvirt.c diff --git a/examples/misc/openauth.c b/examples/c/misc/openauth.c similarity index 100% rename from examples/misc/openauth.c rename to examples/c/misc/openauth.c --=20 2.21.0 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list