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

Christophe Fergeau cfergeau at redhat.com
Wed Nov 4 15:25:08 UTC 2015


On Wed, Nov 04, 2015 at 12:32:45PM -0200, Eduardo Lima (Etrunko) wrote:
> Makefile.am: Use helper variables from git.mk
> man/Makefile.am: This should be $(dist_man_MANS) instead of $(man_MANS)

Having these 2 commit split in the previous iteration was imo better,
but no need to resplit them. A mention in the log that these changes are
needed to get test-driver and the generated man pages to be added
automatically to .gitignore would be nice. ACK

Christophe

> 
> 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
> 
> _______________________________________________
> virt-tools-list mailing list
> virt-tools-list at redhat.com
> https://www.redhat.com/mailman/listinfo/virt-tools-list
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/virt-tools-list/attachments/20151104/c3eeb5a0/attachment.sig>


More information about the virt-tools-list mailing list