mirror of
https://github.com/checkpoint-restore/criu
synced 2025-09-04 16:25:31 +00:00
build: crit -- Fix install target
Signed-off-by: Tycho Andersen <tycho.andersen@canonical.com> Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org> Signed-off-by: Pavel Emelyanov <xemul@virtuozzo.com>
This commit is contained in:
committed by
Pavel Emelyanov
parent
fb0126fda6
commit
d45116ff8b
@@ -24,7 +24,7 @@ install-criu: all $(CRIU-LIB) install-crit
|
|||||||
install-man:
|
install-man:
|
||||||
$(Q) $(MAKE) -C Documentation install
|
$(Q) $(MAKE) -C Documentation install
|
||||||
|
|
||||||
install-crit: crit
|
install-crit: crit/crit
|
||||||
$(E) " INSTALL crit"
|
$(E) " INSTALL crit"
|
||||||
$(Q) python scripts/crit-setup.py install --root=$(DESTDIR) --prefix=$(PREFIX)
|
$(Q) python scripts/crit-setup.py install --root=$(DESTDIR) --prefix=$(PREFIX)
|
||||||
|
|
||||||
|
@@ -27,7 +27,7 @@ PHONY += lib-c
|
|||||||
# Python bindings.
|
# Python bindings.
|
||||||
lib-py:
|
lib-py:
|
||||||
$(call msg-gen, $@)
|
$(call msg-gen, $@)
|
||||||
$(Q) $(MAKE) -C py/images all
|
$(Q) $(MAKE) -C pycriu/images all
|
||||||
PHONY += lib-py
|
PHONY += lib-py
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
@@ -35,7 +35,7 @@ clean:
|
|||||||
$(Q) $(MAKE) $(build)=c $@
|
$(Q) $(MAKE) $(build)=c $@
|
||||||
$(Q) $(RM) c/$(CRIU_SO)
|
$(Q) $(RM) c/$(CRIU_SO)
|
||||||
$(call msg-clean, lib-py)
|
$(call msg-clean, lib-py)
|
||||||
$(Q) $(MAKE) -C py/images $@
|
$(Q) $(MAKE) -C pycriu/images $@
|
||||||
|
|
||||||
all: $(PHONY)
|
all: $(PHONY)
|
||||||
@true
|
@true
|
||||||
|
@@ -6,6 +6,7 @@ setup(name = "crit",
|
|||||||
author = "CRIU team",
|
author = "CRIU team",
|
||||||
author_email = "criu@openvz.org",
|
author_email = "criu@openvz.org",
|
||||||
url = "https://github.com/xemul/criu",
|
url = "https://github.com/xemul/criu",
|
||||||
|
package_dir = {'': "lib"},
|
||||||
packages = ["pycriu", "pycriu.images"],
|
packages = ["pycriu", "pycriu.images"],
|
||||||
scripts = ["crit"]
|
scripts = ["crit/crit"]
|
||||||
)
|
)
|
||||||
|
Reference in New Issue
Block a user