diff options
author | kfraser@localhost.localdomain <kfraser@localhost.localdomain> | 2007-03-05 19:01:19 +0000 |
---|---|---|
committer | kfraser@localhost.localdomain <kfraser@localhost.localdomain> | 2007-03-05 19:01:19 +0000 |
commit | 6ad77059f1f4f56b90e0ed5c073301cd79a59db8 (patch) | |
tree | 601f7b2175e8d0151db7e1ac069f5167334b3b32 /tools/pygrub/Makefile | |
parent | d7ee1f5383acc25010251a9943dcd2485d60452a (diff) | |
download | xen-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/Makefile | 3 |
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 |