[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[libvirt] [PATCH] build: fix building error when building without libvirtd



When building libvirt without libvirtd, I receive the following errors:

make[1]: Leaving directory `/home/wency/source/test/libvirt/src'
 (cd daemon && make  top_distdir=../libvirt-0.8.8 distdir=../libvirt-0.8.8/daemon \
     am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)
make[1]: Entering directory `/home/wency/source/test/libvirt/daemon'
make[1]: *** No rule to make target `libvirtd.8.in', needed by `distdir'.  Stop.
make[1]: Leaving directory `/home/wency/source/test/libvirt/daemon'
make: *** [distdir] Error 1

This bug was caused by commit 6db98a2d.

Signed-off-by: Wen Congyang <wency cn fujitsu com>

---
 daemon/Makefile.am |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/daemon/Makefile.am b/daemon/Makefile.am
index 912440c..b4880a9 100644
--- a/daemon/Makefile.am
+++ b/daemon/Makefile.am
@@ -38,7 +38,6 @@ EXTRA_DIST =						\
 	test_libvirtd.aug                               \
 	THREADING.txt					\
 	libvirtd.pod.in					\
-	libvirtd.8.in					\
 	libvirtd.stp					\
 	$(AVAHI_SOURCES)				\
 	$(DAEMON_SOURCES)
@@ -47,6 +46,8 @@ BUILT_SOURCES =
 
 if WITH_LIBVIRTD
 
+EXTRA_DIST += libvirtd.8.in
+
 man8_MANS = libvirtd.8
 
 sbin_PROGRAMS = libvirtd
-- 
1.7.1


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]