2
0
mirror of https://github.com/checkpoint-restore/criu synced 2025-08-22 09:58:09 +00:00

Makefile: add tar and dist targets

...using "git archive" command line from Pavel.

Signed-off-by: Kir Kolyshkin <kir@openvz.org>
Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
Kir Kolyshkin 2013-04-30 13:25:06 -07:00 committed by Pavel Emelyanov
parent 9fec380c71
commit b94047e42f

View File

@ -196,6 +196,13 @@ cscope:
docs:
$(Q) $(MAKE) -s -C Documentation all
dist: tar
tar: criu-$(CRTOOLSVERSION).tar.bz2
criu-$(CRTOOLSVERSION).tar.bz2:
git archive --format tar --prefix 'criu-$(CRTOOLSVERSION)/' \
v$(CRTOOLSVERSION) | bzip2 > $@
.PHONY: dist tar
help:
$(E) ' Targets:'
$(E) ' all - Build all [*] targets'