[Spice-devel] [protocol] Add spice/Makefile to the generated .gitignore

Uri Lublin uril at redhat.com
Wed Jul 4 05:06:37 PDT 2012


On 07/03/2012 10:03 PM, Jeremy White wrote:
> ---
>   Makefile.am |    1 +
>   1 file changed, 1 insertion(+)
>
> diff --git a/Makefile.am b/Makefile.am
> index d2e49a4..ff7c78f 100644
> --- a/Makefile.am
> +++ b/Makefile.am
> @@ -19,6 +19,7 @@ MAINTAINERCLEANFILES =						\
>   	$(srcdir)/missing					\
>   	$(srcdir)/mkinstalldirs					\
>   	`find "$(srcdir)" -type f -name Makefile.in -print`	\
> +	`find "$(srcdir)" -type f -name Makefile -print`	\
>   	$(NULL)
>
>   -include $(top_srcdir)/git.mk

Hi,

I think you want to search for Makefile(s) in the build directory
not the source directory.
I guess the build directory would be the current directory for this 
Makefile.
Is  MAINTAINERCLEANFILES the approrpriate place for Makefiles?
Makefiles are removed by 'distclean' or 'maintainer-clean' targets.

Regards,
     Uri.


More information about the Spice-devel mailing list