[CRIU] [PATCHv2 3/2] build: rectify rebuild target

Dmitry Safonov dsafonov at virtuozzo.com
Fri Mar 18 04:58:22 PDT 2016


Add back lost rebuild target.
Don't know if someone uses it - but we should either fix
or remove it from `make help` message.

Cc: Cyrill Gorcunov <gorcunov at openvz.org>
Signed-off-by: Dmitry Safonov <dsafonov at virtuozzo.com>
---
Note: it must be applied over "[PATCH 2/2] build: add mrproper target"

 Makefile | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/Makefile b/Makefile
index 16b79b821e64..93cdf0b34142 100644
--- a/Makefile
+++ b/Makefile
@@ -156,6 +156,12 @@ mrproper: subclean
 	$(Q) $(RM) tags TAGS
 .PHONY: mrproper
 
+rebuild: subclean
+	$(Q) $(MAKE) $(build)=images mrproper
+	$(Q) $(MAKE) -C criu mrproper
+	$(Q) $(MAKE)
+.PHONY: rebuild
+
 #
 # Non-CRIU stuff.
 #
-- 
2.7.2



More information about the CRIU mailing list