Update MAINTAINERCLEANFILES variables

Makefile.am: Use helper variables from git.mk
man/Makefile.am: This should be $(dist_man_MANS) instead of $(man_MANS)

Signed-off-by: Eduardo Lima (Etrunko) <etrunko@redhat.com>
This commit is contained in:
Eduardo Lima (Etrunko) 2015-11-04 11:59:45 -02:00
parent 173a8cff4e
commit 69e0476314
2 changed files with 4 additions and 16 deletions

View File

@ -29,23 +29,11 @@ DISTCLEAN_FILES = \
$(NULL)
MAINTAINERCLEANFILES = \
$(srcdir)/AUTHORS \
$(srcdir)/INSTALL \
$(srcdir)/aclocal.m4 \
$(srcdir)/autoscan.log \
$(srcdir)/config.h.in \
$(srcdir)/build-aux/compile \
$(srcdir)/build-aux/config.guess \
$(srcdir)/build-aux/config.sub \
$(srcdir)/build-aux/depcomp \
$(srcdir)/build-aux/install-sh \
$(srcdir)/build-aux/ltmain.sh \
$(srcdir)/build-aux/missing \
$(GITIGNORE_MAINTAINERCLEANFILES_TOPLEVEL) \
$(GITIGNORE_MAINTAINERCLEANFILES_M4_LIBTOOL) \
$(srcdir)/m4/intltool.m4 \
$(srcdir)/m4/libtool.m4 \
$(srcdir)/m4/ltoptions.m4 \
$(srcdir)/m4/ltsugar.m4 \
$(srcdir)/m4/ltversion.m4 \
$(srcdir)/m4/lt~obsolete.m4 \
$(NULL)
dist-hook: gen-ChangeLog gen-AUTHORS

View File

@ -10,7 +10,7 @@ EXTRA_DIST = \
virt-viewer.pod \
$(NULL)
MAINTAINERCLEANFILES = $(man_MANS)
MAINTAINERCLEANFILES = $(dist_man_MANS)
%.1: %.pod
$(AM_V_GEN)pod2man -c "Virtualization Support" $< > $@