[CRIU] [PATCH 8/7] crit: ignore build folder and delete it by make clean

Ruslan Kuprieiev kupruser at gmail.com
Wed Oct 29 07:09:25 PDT 2014


"build" directory is used by crit-setup.py to store some temp
data.

Signed-off-by: Ruslan Kuprieiev <kupruser at gmail.com>
---
 .gitignore | 1 +
 Makefile   | 1 +
 2 files changed, 2 insertions(+)

diff --git a/.gitignore b/.gitignore
index 2391e90..977c782 100644
--- a/.gitignore
+++ b/.gitignore
@@ -27,3 +27,4 @@ pie/pie.lds.S
 include/config.h
 protobuf-desc-gen.h
 criu.pc
+build
diff --git a/Makefile b/Makefile
index 998f90b..5778372 100644
--- a/Makefile
+++ b/Makefile
@@ -229,6 +229,7 @@ clean: clean-built
 	$(Q) $(MAKE) -C test $@
 	$(Q) $(MAKE) -C pycriu $@
 	$(Q) $(RM) ./*.pyc
+	$(Q) $(RM) -r build
 
 distclean: clean
 	$(E) "  DISTCLEAN"
-- 
1.9.3



More information about the CRIU mailing list