[Libguestfs] [PATCH] build: Add common CLEANFILES and DISTCLEANFILES to common-rules.mk.

Pino Toscano ptoscano at redhat.com
Thu Aug 25 15:29:49 UTC 2016


On Thursday, 25 August 2016 15:53:32 CEST Richard W.M. Jones wrote:
> By adding common CLEANFILES and DISTCLEANFILES variables to
> common-rules.mk, we can remove these from most other Makefiles, and
> also clean files more consistently.
> 
> Note that bin_PROGRAMS are already cleaned by 'make clean', so I
> removed cases where these were unnecessarily added to CLEANFILES.
> ---

Mostly LGTM, just a couple of small notes below.

> +# Files that should universally be removed by 'make clean'.  Note if
> +# there is any case in any subdirectory where a file should not be
> +# removed by 'make clean', it should not be listed here!
> +
> +# Emacs backup files

It isn't only Emacs doing this kind of backup files :)

> +# Libtool cruft.
> +CLEANFILES += *.lo *.la

Is this actually needed? Most probably automake already clean them,
I think.

Thanks,
-- 
Pino Toscano
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part.
URL: <http://listman.redhat.com/archives/libguestfs/attachments/20160825/2da53247/attachment.sig>


More information about the Libguestfs mailing list