]> xenbits.xensource.com Git - libvirt.git/commitdiff
build-sys: fix build when daemon is disabled by not installing libvirtd.8
authorDiego Elio Pettenò <flameeyes@gmail.com>
Fri, 6 Aug 2010 01:17:37 +0000 (03:17 +0200)
committerEric Blake <eblake@redhat.com>
Fri, 6 Aug 2010 12:45:18 +0000 (06:45 -0600)
Since the rule to build libvirtd.8 is within the WITH_LIBVIRTD conditional,
so declare the man page in there as well. Without this change, build
without daemon will fail.

daemon/Makefile.am

index 963d64f00d8d661fa8f248ac43194ed7bdfaaf1b..dbf0ac3e38d1a59e9dc62af78673f57eb568de09 100644 (file)
@@ -41,12 +41,12 @@ EXTRA_DIST =                                                \
        $(AVAHI_SOURCES)                                \
        $(DAEMON_SOURCES)
 
-man_MANS = libvirtd.8
-
 BUILT_SOURCES =
 
 if WITH_LIBVIRTD
 
+man_MANS = libvirtd.8
+
 sbin_PROGRAMS = libvirtd
 
 confdir = $(sysconfdir)/libvirt/