This slightly reduces the requirements for building libvirt.
The man pages are deleted with make maintainer-clean.
---
daemon/Makefile.am | 5 +++--
tools/Makefile.am | 5 +++--
2 files changed, 6 insertions(+), 4 deletions(-)
diff --git a/daemon/Makefile.am b/daemon/Makefile.am
index dbf0ac3..77f9806 100644
--- a/daemon/Makefile.am
+++ b/daemon/Makefile.am
@@ -45,7 +45,7 @@ BUILT_SOURCES =
if WITH_LIBVIRTD
-man_MANS = libvirtd.8
+dist_man_MANS = libvirtd.8
sbin_PROGRAMS = libvirtd
@@ -324,5 +324,6 @@ uninstall-data-sasl:
endif
-CLEANFILES = $(BUILT_SOURCES) $(man_MANS) libvirtd.pod
+CLEANFILES = $(BUILT_SOURCES) libvirtd.pod
CLEANFILES += *.cov *.gcov .libs/*.gcda .libs/*.gcno *.gcno *.gcda
+MAINTAINERCLEANFILES = $(dist_man_MANS)
diff --git a/tools/Makefile.am b/tools/Makefile.am
index fd05e8b..8d8b235 100644
--- a/tools/Makefile.am
+++ b/tools/Makefile.am
@@ -13,7 +13,7 @@ EXTRA_DIST = $(ICON_FILES) virt-xml-validate.in virt-pki-validate.in
virsh.pod
bin_SCRIPTS = virt-xml-validate virt-pki-validate
bin_PROGRAMS = virsh
-man1_MANS = virt-xml-validate.1 virt-pki-validate.1 virsh.1
+dist_man_MANS = virt-xml-validate.1 virt-pki-validate.1 virsh.1
virt-xml-validate: virt-xml-validate.in Makefile
@@ -119,6 +119,7 @@ virsh.1: virsh.pod
$(AM_V_GEN)$(POD2MAN) $< $@
-CLEANFILES = $(bin_SCRIPTS) $(man1_MANS)
+CLEANFILES = $(bin_SCRIPTS)
+MAINTAINERCLEANFILES = $(dist_man_MANS)
DISTCLEANFILES = $(BUILT_SOURCES)
--
1.7.2