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. This bug was caused by commit 6db98a2d. Signed-off-by: Wen Congyang <wency@cn.fujitsu.com> Signed-off-by: Eric Blake <eblake@redhat.com>
This commit is contained in:
parent
7eca4ea3ac
commit
7e07a40113
@ -60,9 +60,6 @@ augeas_DATA = libvirtd.aug
|
|||||||
augeastestsdir = $(datadir)/augeas/lenses/tests
|
augeastestsdir = $(datadir)/augeas/lenses/tests
|
||||||
augeastests_DATA = test_libvirtd.aug
|
augeastests_DATA = test_libvirtd.aug
|
||||||
|
|
||||||
POD2MAN = pod2man -c "Virtualization Support" \
|
|
||||||
-r "$(PACKAGE)-$(VERSION)" -s 8
|
|
||||||
|
|
||||||
libvirtd.8: $(srcdir)/libvirtd.8.in
|
libvirtd.8: $(srcdir)/libvirtd.8.in
|
||||||
sed \
|
sed \
|
||||||
-e 's![@]sysconfdir[@]!$(sysconfdir)!g' \
|
-e 's![@]sysconfdir[@]!$(sysconfdir)!g' \
|
||||||
@ -71,9 +68,6 @@ libvirtd.8: $(srcdir)/libvirtd.8.in
|
|||||||
< $< > $@-t
|
< $< > $@-t
|
||||||
mv $@-t $@
|
mv $@-t $@
|
||||||
|
|
||||||
$(srcdir)/libvirtd.8.in: libvirtd.pod.in
|
|
||||||
$(AM_V_GEN)$(POD2MAN) $< $@
|
|
||||||
|
|
||||||
libvirtd_SOURCES = $(DAEMON_SOURCES)
|
libvirtd_SOURCES = $(DAEMON_SOURCES)
|
||||||
|
|
||||||
#-D_XOPEN_SOURCE=600 -D_XOPEN_SOURCE_EXTENDED=1 -D_POSIX_C_SOURCE=199506L
|
#-D_XOPEN_SOURCE=600 -D_XOPEN_SOURCE_EXTENDED=1 -D_POSIX_C_SOURCE=199506L
|
||||||
@ -330,6 +324,13 @@ install-data-local: install-data-sasl
|
|||||||
uninstall-local:: uninstall-data-sasl
|
uninstall-local:: uninstall-data-sasl
|
||||||
endif # WITH_LIBVIRTD
|
endif # WITH_LIBVIRTD
|
||||||
|
|
||||||
|
# This is needed for 'make dist' too, so can't wrap in WITH_LIBVIRTD.
|
||||||
|
POD2MAN = pod2man -c "Virtualization Support" \
|
||||||
|
-r "$(PACKAGE)-$(VERSION)" -s 8
|
||||||
|
|
||||||
|
$(srcdir)/libvirtd.8.in: libvirtd.pod.in
|
||||||
|
$(AM_V_GEN)$(POD2MAN) $< $@
|
||||||
|
|
||||||
# This is needed for clients too, so can't wrap in
|
# This is needed for clients too, so can't wrap in
|
||||||
# the WITH_LIBVIRTD conditional
|
# the WITH_LIBVIRTD conditional
|
||||||
if HAVE_SASL
|
if HAVE_SASL
|
||||||
|
Loading…
x
Reference in New Issue
Block a user