[CRIU] [PATCH] build: clean up various other bits

Tycho Andersen tycho.andersen at canonical.com
Thu Mar 10 16:00:58 PST 2016


.gitid, and some of the build directories from setup.py need to be cleaned
on 'clean'.

Signed-off-by: Tycho Andersen <tycho.andersen at canonical.com>
---
 Makefile     | 1 +
 lib/Makefile | 1 +
 2 files changed, 2 insertions(+)

diff --git a/Makefile b/Makefile
index ea17f26..9953791 100644
--- a/Makefile
+++ b/Makefile
@@ -147,6 +147,7 @@ clean: clean-built
 	$(call msg-clean, criu)
 	$(Q) $(RM) cscope.*
 	$(Q) $(RM) tags TAGS
+	$(Q) $(RM) .gitid
 PHONY += clean
 
 #
diff --git a/lib/Makefile b/lib/Makefile
index 0cd59a1..49fd309 100644
--- a/lib/Makefile
+++ b/lib/Makefile
@@ -32,6 +32,7 @@ clean:
 	$(Q) $(RM) c/criu.pc
 	$(call msg-clean, lib-py)
 	$(Q) $(MAKE) -C py $@
+	$(Q) $(RM) -r build usr
 
 all: $(PHONY)
 	@true
-- 
2.5.0



More information about the CRIU mailing list