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

Tycho Andersen tycho.andersen at canonical.com
Mon Nov 2 10:50:35 PST 2015


This directory is generated by the install-crit target, so let's .gitignore
it and clean it on `make clean`.

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