mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 18:50:05 +01:00
This patch removes the extra command `install pygrub` because this is already done by the setup.py script. Signed-off-by: Anthony PERARD <anthony.perard@citrix.com> Acked-by: George Dunlap <george.dunlap@eu.citrix.com> Committed-by: Ian Jackson <ian.jackson@eu.citrix.com>
24 lines
539 B
Makefile
24 lines
539 B
Makefile
|
|
XEN_ROOT = $(CURDIR)/../..
|
|
include $(XEN_ROOT)/tools/Rules.mk
|
|
|
|
.PHONY: all
|
|
all: build
|
|
.PHONY: build
|
|
build:
|
|
CC="$(CC)" CFLAGS="$(CFLAGS)" $(PYTHON) setup.py build
|
|
|
|
.PHONY: install
|
|
install: all
|
|
CC="$(CC)" CFLAGS="$(CFLAGS)" $(PYTHON) setup.py install \
|
|
$(PYTHON_PREFIX_ARG) --root="$(DESTDIR)" \
|
|
--install-scripts=$(PRIVATE_BINDIR) --force
|
|
$(INSTALL_DIR) $(DESTDIR)/var/run/xend/boot
|
|
ln -sf $(PRIVATE_BINDIR)/pygrub $(DESTDIR)/$(BINDIR)
|
|
|
|
.PHONY: clean
|
|
clean:
|
|
rm -rf build tmp *.pyc *.pyo *.o *.a *~ a.out $(DEPS)
|
|
|
|
-include $(DEPS)
|