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

[Xen-changelog] [xen-unstable] tools: use $(PREFIX) rather than hard-coding /usr



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1216906408 -3600
# Node ID 1cdacc826244ee50db195068bb0755ebf01000bf
# Parent  0c320ae06d79d319f9fd419428e1539bc1b4818d
tools: use $(PREFIX) rather than hard-coding /usr

Signed-off-by: Jan Beulich <jbeulich@xxxxxxxxxx>
---
 tools/Makefile                    |    4 ++--
 tools/libaio/src/Makefile         |    2 +-
 tools/xenstat/libxenstat/Makefile |    2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)

diff -r 0c320ae06d79 -r 1cdacc826244 tools/Makefile
--- a/tools/Makefile    Thu Jul 24 14:18:58 2008 +0100
+++ b/tools/Makefile    Thu Jul 24 14:33:28 2008 +0100
@@ -60,8 +60,8 @@ endif
 endif
 
 ioemu/config-host.mak:
-       cd ioemu && XEN_TARGET_ARCH=$(XEN_TARGET_ARCH) sh configure 
--prefix=/usr \
-               $(IOEMU_CONFIGURE_CROSS)
+       cd ioemu && XEN_TARGET_ARCH=$(XEN_TARGET_ARCH) sh configure \
+               --prefix=$(PREFIX) $(IOEMU_CONFIGURE_CROSS)
 
 subdir-all-ioemu subdir-install-ioemu: ioemu/config-host.mak
 
diff -r 0c320ae06d79 -r 1cdacc826244 tools/libaio/src/Makefile
--- a/tools/libaio/src/Makefile Thu Jul 24 14:18:58 2008 +0100
+++ b/tools/libaio/src/Makefile Thu Jul 24 14:33:28 2008 +0100
@@ -1,7 +1,7 @@ XEN_ROOT = ../../..
 XEN_ROOT = ../../..
 include $(XEN_ROOT)/tools/Rules.mk
 
-prefix=/usr
+prefix=$(PREFIX)
 includedir=$(prefix)/include
 libdir=$(prefix)/lib
 
diff -r 0c320ae06d79 -r 1cdacc826244 tools/xenstat/libxenstat/Makefile
--- a/tools/xenstat/libxenstat/Makefile Thu Jul 24 14:18:58 2008 +0100
+++ b/tools/xenstat/libxenstat/Makefile Thu Jul 24 14:33:28 2008 +0100
@@ -15,7 +15,7 @@ XEN_ROOT=../../..
 XEN_ROOT=../../..
 include $(XEN_ROOT)/tools/Rules.mk
 
-prefix=/usr
+prefix=$(PREFIX)
 includedir=$(prefix)/include
 libdir=$(prefix)/lib
 

_______________________________________________
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®.