[Spice-devel] [spice-common v1] Fix gitignore with new docs folder

Frediano Ziglio fziglio at redhat.com
Thu Oct 20 16:09:29 UTC 2016


> 
> From: Victor Toso <me at victortoso.com>
> 
> The generated spice_protocol.html file and the Makefile were not
> included in gitignore. This patch fixes it.
> ---
>  docs/Makefile.am | 2 ++
>  git.mk           | 1 +
>  2 files changed, 3 insertions(+)
> 
> diff --git a/docs/Makefile.am b/docs/Makefile.am
> index 0b09b82..212acba 100644
> --- a/docs/Makefile.am
> +++ b/docs/Makefile.am
> @@ -15,3 +15,5 @@ endif
>  
>  clean-local:
>  	rm -f spice_protocol.html
> +
> +-include $(top_srcdir)/git.mk
> diff --git a/git.mk b/git.mk
> index d5bf7b8..8be04f9 100644
> --- a/git.mk
> +++ b/git.mk
> @@ -193,6 +193,7 @@ $(srcdir)/.gitignore: Makefile.am $(top_srcdir)/git.mk
>  			Makefile \
>  			Makefile.in \
>  			"*.orig" \
> +			"*.html" \
>  			"*.rej" \
>  			"*.bak" \
>  			"*~" \

Not really familiar with git.mk but I can confirm it works!

I don't know if this is enough to ack...

Frediano


More information about the Spice-devel mailing list