[virt-tools-list] [PATCH 4/6] Update MAINTAINERCLEANFILES variables

Eduardo Lima (Etrunko) etrunko at redhat.com
Wed Nov 4 14:32:45 UTC 2015


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 at redhat.com>
---
 Makefile.am     | 18 +++---------------
 man/Makefile.am |  2 +-
 2 files changed, 4 insertions(+), 16 deletions(-)

diff --git a/Makefile.am b/Makefile.am
index d0e9ab4..769fa21 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -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
diff --git a/man/Makefile.am b/man/Makefile.am
index 6ee3116..39b6019 100644
--- a/man/Makefile.am
+++ b/man/Makefile.am
@@ -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" $< > $@
-- 
2.4.3




More information about the virt-tools-list mailing list