mirror of
https://github.com/checkpoint-restore/criu
synced 2025-08-28 12:57:57 +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:
|
docs:
|
||||||
$(Q) $(MAKE) -s -C Documentation all
|
$(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:
|
help:
|
||||||
$(E) ' Targets:'
|
$(E) ' Targets:'
|
||||||
$(E) ' all - Build all [*] targets'
|
$(E) ' all - Build all [*] targets'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user