build-sys: man Makefile.am misc improvements

Make it silent.
Ship man files in tarball.
Use maintainer-clean instead of distclean (which is for files generated
by configure in general).
This commit is contained in:
Marc-André Lureau 2014-04-03 14:38:24 +02:00
parent e423cb4879
commit 5ab6eb7b33

View File

@ -1,6 +1,6 @@
NULL =
man_MANS = \
dist_man_MANS = \
remote-viewer.1 \
virt-viewer.1 \
$(NULL)
@ -10,9 +10,9 @@ EXTRA_DIST = \
virt-viewer.pod \
$(NULL)
DISTCLEANFILES = $(man_MANS)
MAINTAINERCLEANFILES = $(man_MANS)
%.1: %.pod
pod2man -c "Virtualization Support" $< > $@
$(AM_V_GEN)pod2man -c "Virtualization Support" $< > $@
-include $(top_srcdir)/git.mk