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:
Tycho Andersen 2016-02-15 15:26:58 +03:00 committed by Pavel Emelyanov
parent fb0126fda6
commit d45116ff8b
12 changed files with 5 additions and 4 deletions

View file

@ -24,7 +24,7 @@ install-criu: all $(CRIU-LIB) install-crit
install-man:
$(Q) $(MAKE) -C Documentation install
install-crit: crit
install-crit: crit/crit
$(E) " INSTALL crit"
$(Q) python scripts/crit-setup.py install --root=$(DESTDIR) --prefix=$(PREFIX)

View file

@ -27,7 +27,7 @@ PHONY += lib-c
# Python bindings.
lib-py:
$(call msg-gen, $@)
$(Q) $(MAKE) -C py/images all
$(Q) $(MAKE) -C pycriu/images all
PHONY += lib-py
clean:
@ -35,7 +35,7 @@ clean:
$(Q) $(MAKE) $(build)=c $@
$(Q) $(RM) c/$(CRIU_SO)
$(call msg-clean, lib-py)
$(Q) $(MAKE) -C py/images $@
$(Q) $(MAKE) -C pycriu/images $@
all: $(PHONY)
@true

View file

@ -6,6 +6,7 @@ setup(name = "crit",
author = "CRIU team",
author_email = "criu@openvz.org",
url = "https://github.com/xemul/criu",
package_dir = {'': "lib"},
packages = ["pycriu", "pycriu.images"],
scripts = ["crit"]
scripts = ["crit/crit"]
)