From nobody Mon Feb 9 13:00:50 2026 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=1564420314; cv=none; d=zoho.com; s=zohoarc; b=PlJnQQpmN7OPYXiJkyXB7964OU9RKbBzANig4pVpae//fd3RK5ri7MZPPMuH6MffcP5eC7ZKdUKNif0pTjBrguv0ZORF91mhx7LrsMjuo9O7a7qKoh/g/sHwtou++SHXIrWXFqm9u0v7iepzvYASDoRHgAQ8ti2kq10fP+HJV/Y= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1564420314; h=Content-Type:Content-Transfer-Encoding:Cc: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=fVuTtu7nMONerFpVDM07ZqQbKk1ULnZp+70aAZvgzpM=; b=hi41MpZwEeFlPOjDHli9E9ut/KSHujVIvDR527b9fR3IHv7pgGy8mJHsjJIhtNMsPexKh3o7I0Wn646jvsZsszBlnTSD8q8RKSn1IE3pjcoZrZp9bAip49aDK8Bu4RM/+GcnOZH7oXDeeVU5sOl8gszmFtkeDDatzxC45Jr/NCA= 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 1564420314674434.76317437009243; Mon, 29 Jul 2019 10:11:54 -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 8E70781F0F; Mon, 29 Jul 2019 17:11:53 +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 62DE75C21A; Mon, 29 Jul 2019 17:11:53 +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 162751972F; Mon, 29 Jul 2019 17:11:53 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id x6THBfVX027197 for ; Mon, 29 Jul 2019 13:11:41 -0400 Received: by smtp.corp.redhat.com (Postfix) id B222E5C219; Mon, 29 Jul 2019 17:11:41 +0000 (UTC) Received: from localhost.localdomain.com (ovpn-112-51.ams2.redhat.com [10.36.112.51]) by smtp.corp.redhat.com (Postfix) with ESMTP id 7BF1E5C1A1; Mon, 29 Jul 2019 17:11:40 +0000 (UTC) From: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= To: libvir-list@redhat.com Date: Mon, 29 Jul 2019 18:10:47 +0100 Message-Id: <20190729171130.25484-6-berrange@redhat.com> In-Reply-To: <20190729171130.25484-1-berrange@redhat.com> References: <20190729171130.25484-1-berrange@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 X-loop: libvir-list@redhat.com Cc: Andrea Bolognani Subject: [libvirt] [PATCH v3 05/48] build: centralize rule for handling generated config files 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-Type: text/plain; charset="utf-8" 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.27]); Mon, 29 Jul 2019 17:11:54 +0000 (UTC) Instead of adding generated config files to CLEANFILES and BUILT_SOURCES in each makefile, add them all at once. Reviewed-by: Andrea Bolognani Signed-off-by: Daniel P. Berrang=C3=A9 --- src/Makefile.am | 3 +++ src/locking/Makefile.inc.am | 8 -------- 2 files changed, 3 insertions(+), 8 deletions(-) diff --git a/src/Makefile.am b/src/Makefile.am index 6bb33524cf..255e8e2b57 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -144,6 +144,9 @@ moddir =3D $(libdir)/libvirt/connection-driver confdir =3D $(sysconfdir)/libvirt conf_DATA +=3D libvirt.conf libvirt-admin.conf =20 +CLEANFILES +=3D $(nodist_conf_DATA) +BUILT_SOURCES +=3D $(nodist_conf_DATA) + augeasdir =3D $(datadir)/augeas/lenses =20 augeastestdir =3D $(datadir)/augeas/lenses/tests diff --git a/src/locking/Makefile.inc.am b/src/locking/Makefile.inc.am index 24d83fdd80..161410051c 100644 --- a/src/locking/Makefile.inc.am +++ b/src/locking/Makefile.inc.am @@ -116,14 +116,10 @@ endif WITH_SASL if WITH_QEMU augeastest_DATA +=3D locking/test_libvirt_lockd.aug nodist_conf_DATA +=3D locking/qemu-lockd.conf -BUILT_SOURCES +=3D locking/qemu-lockd.conf -DISTCLEANFILES +=3D locking/qemu-lockd.conf endif WITH_QEMU =20 if WITH_LIBXL nodist_conf_DATA +=3D locking/libxl-lockd.conf -BUILT_SOURCES +=3D locking/libxl-lockd.conf -DISTCLEANFILES +=3D locking/libxl-lockd.conf endif WITH_LIBXL =20 sbin_PROGRAMS +=3D virtlockd @@ -171,14 +167,10 @@ augeas_DATA +=3D locking/libvirt_sanlock.aug if WITH_QEMU augeastest_DATA +=3D locking/test_libvirt_sanlock.aug nodist_conf_DATA +=3D locking/qemu-sanlock.conf -BUILT_SOURCES +=3D locking/qemu-sanlock.conf -DISTCLEANFILES +=3D locking/qemu-sanlock.conf endif WITH_QEMU =20 if WITH_LIBXL nodist_conf_DATA +=3D locking/libxl-sanlock.conf -BUILT_SOURCES +=3D locking/libxl-sanlock.conf -DISTCLEANFILES +=3D locking/libxl-sanlock.conf endif WITH_LIBXL =20 libexec_PROGRAMS +=3D libvirt_sanlock_helper --=20 2.21.0 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list