[CRIU] [PATCH] build: ignore/clean usr/

Tycho Andersen tycho.andersen at canonical.com
Mon Nov 2 11:11:15 PST 2015


On Mon, Nov 02, 2015 at 12:04:16PM -0700, Tycho Andersen wrote:
> This directory is generated by the install-crit target, so let's .gitignore
> it and clean it on `make clean`.

Whoops, sorry. We only need one of these of course, my git-fu was
broken it seems :(

> Signed-off-by: Tycho Andersen <tycho.andersen at canonical.com>
> ---
>  .gitignore | 1 +
>  Makefile   | 1 +
>  2 files changed, 2 insertions(+)
> 
> diff --git a/.gitignore b/.gitignore
> index af19293..d1ee841 100644
> --- a/.gitignore
> +++ b/.gitignore
> @@ -33,3 +33,4 @@ protobuf-desc-gen.h
>  criu.pc
>  build
>  .gitid
> +usr/
> diff --git a/Makefile b/Makefile
> index 197b8b7..aeface3 100644
> --- a/Makefile
> +++ b/Makefile
> @@ -284,6 +284,7 @@ clean: clean-built
>  	$(Q) $(MAKE) -C pycriu $@
>  	$(Q) $(RM) ./*.pyc
>  	$(Q) $(RM) -r build
> +	$(Q) $(RM) -r usr
>  
>  distclean: clean
>  	$(E) "  DISTCLEAN"
> -- 
> 2.5.0
> 


More information about the CRIU mailing list