[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] Install pygrub according to auxbin rules.



# HG changeset patch
# User kfraser@xxxxxxxxxxxxxxxxxxxxx
# Date 1173121279 0
# Node ID e5a0dd445e41ba287f262435220aaa0d951da483
# Parent  7f0d8e3c538e47f94be4f13fe24b5ad29cf437c3
Install pygrub according to auxbin rules.
Signed-off-by: Keir Fraser <keir@xxxxxxxxxxxxx>
---
 tools/pygrub/Makefile |    3 ++-
 1 files changed, 2 insertions(+), 1 deletion(-)

diff -r 7f0d8e3c538e -r e5a0dd445e41 tools/pygrub/Makefile
--- a/tools/pygrub/Makefile     Mon Mar 05 18:54:26 2007 +0000
+++ b/tools/pygrub/Makefile     Mon Mar 05 19:01:19 2007 +0000
@@ -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

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.