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:
parent
9fec380c71
commit
b94047e42f
7
Makefile
7
Makefile
@ -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'
|
||||
|
Loading…
x
Reference in New Issue
Block a user