[libvirt] [PATCH] avoid a new "make distcheck" failure

Jim Meyering jim at meyering.net
Wed Dec 10 17:28:00 UTC 2008


I noticed that "make distcheck" was failing.
This fixes it:

>From b80b724feb30ba46c5481e5b1198bbdfc2bfe428 Mon Sep 17 00:00:00 2001
From: Jim Meyering <meyering at redhat.com>
Date: Wed, 10 Dec 2008 17:45:32 +0100
Subject: [PATCH] avoid a new "make distcheck" failure

Distribute the new file, libvirtd.logrotate.in, and make
distclean remove the build product, libvirtd.logrotate.
* qemud/Makefile.am (EXTRA_DIST): Add libvirtd.logrotate.in.
(DISTCLEANFILES): Initialize, and append libvirtd.logrotate.in.
---
 qemud/Makefile.am |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/qemud/Makefile.am b/qemud/Makefile.am
index df1e100..8cb0847 100644
--- a/qemud/Makefile.am
+++ b/qemud/Makefile.am
@@ -13,6 +13,7 @@ DAEMON_SOURCES =					\
 AVAHI_SOURCES =						\
 		mdns.c mdns.h

+DISTCLEANFILES =
 EXTRA_DIST =						\
 	default-network.xml				\
 	remote_generate_stubs.pl rpcgen_fix.pl		\
@@ -24,6 +25,7 @@ EXTRA_DIST =						\
 	libvirtd.sysconf				\
 	libvirtd.aug                                    \
 	libvirtd_qemu.aug                               \
+	libvirtd.logrotate.in                           \
 	test_libvirtd.aug                               \
 	test_libvirtd_qemu.aug                          \
 	$(AVAHI_SOURCES)				\
@@ -198,7 +200,7 @@ remote_dispatch_args.h: $(srcdir)/remote_generate_stubs.pl remote_protocol.x
 remote_dispatch_ret.h: $(srcdir)/remote_generate_stubs.pl remote_protocol.x
 	perl -w $(srcdir)/remote_generate_stubs.pl -r $(srcdir)/remote_protocol.x > $@

-
+DISTCLEANFILES += libvirtd.logrotate
 libvirtd.logrotate: libvirtd.logrotate.in
 	sed						\
 	    -e s!\@localstatedir\@!@localstatedir@!g	\
--
1.6.0.4.1044.g77718




More information about the libvir-list mailing list