Commit d45116ff authored by Tycho Andersen's avatar Tycho Andersen Committed by Pavel Emelyanov

build: crit -- Fix install target

Signed-off-by: 's avatarTycho Andersen <tycho.andersen@canonical.com>
Signed-off-by: 's avatarCyrill Gorcunov <gorcunov@openvz.org>
Signed-off-by: 's avatarPavel Emelyanov <xemul@virtuozzo.com>
parent fb0126fd
...@@ -24,7 +24,7 @@ install-criu: all $(CRIU-LIB) install-crit ...@@ -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 ...@@ -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: ...@@ -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", ...@@ -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"]
) )
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment