aboutsummaryrefslogtreecommitdiffstats
path: root/tools/pygrub/Makefile
diff options
context:
space:
mode:
authorkfraser@localhost.localdomain <kfraser@localhost.localdomain>2007-03-05 19:01:19 +0000
committerkfraser@localhost.localdomain <kfraser@localhost.localdomain>2007-03-05 19:01:19 +0000
commit6ad77059f1f4f56b90e0ed5c073301cd79a59db8 (patch)
tree601f7b2175e8d0151db7e1ac069f5167334b3b32 /tools/pygrub/Makefile
parentd7ee1f5383acc25010251a9943dcd2485d60452a (diff)
downloadxen-6ad77059f1f4f56b90e0ed5c073301cd79a59db8.tar.gz
xen-6ad77059f1f4f56b90e0ed5c073301cd79a59db8.tar.bz2
xen-6ad77059f1f4f56b90e0ed5c073301cd79a59db8.zip
Install pygrub according to auxbin rules.
Signed-off-by: Keir Fraser <keir@xensource.com>
Diffstat (limited to 'tools/pygrub/Makefile')
-rw-r--r--tools/pygrub/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/pygrub/Makefile b/tools/pygrub/Makefile
index 2e7b3e4d21..f96dd03aa3 100644
--- a/tools/pygrub/Makefile
+++ b/tools/pygrub/Makefile
@@ -10,8 +10,9 @@ build:
.PHONY: install
ifndef XEN_PYTHON_NATIVE_INSTALL
+install: LIBPATH=$(shell PYTHONPATH=../python/xen/util python -c "import auxbin; print auxbin.libpath()")
install: all
- CC="$(CC)" CFLAGS="$(CFLAGS)" python setup.py install --home="$(DESTDIR)/usr" --prefix=""
+ CC="$(CC)" CFLAGS="$(CFLAGS)" python setup.py install --home="$(DESTDIR)/usr" --prefix="" --install-lib="$(DESTDIR)$(LIBPATH)/python"
$(INSTALL_DIR) -p $(DESTDIR)/var/run/xend/boot
else
install: all