aboutsummaryrefslogtreecommitdiffstats
path: root/tools/pygrub/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'tools/pygrub/Makefile')
-rw-r--r--tools/pygrub/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/pygrub/Makefile b/tools/pygrub/Makefile
index 03c8ed9530..48e982c075 100644
--- a/tools/pygrub/Makefile
+++ b/tools/pygrub/Makefile
@@ -12,7 +12,7 @@ build:
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="" --install-lib="$(DESTDIR)$(LIBPATH)/python"
+ CC="$(CC)" CFLAGS="$(CFLAGS)" python setup.py install --home="$(DESTDIR)$(PREFIX)" --prefix="" --install-lib="$(DESTDIR)$(LIBDIR)/python"
$(INSTALL_DIR) $(DESTDIR)/var/run/xend/boot
else
install: all