WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] [PATCH 1/6] makefiles - Add PREFIX definition

To: "Bastian Blank" <bastian@xxxxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH 1/6] makefiles - Add PREFIX definition
From: "Jan Beulich" <jbeulich@xxxxxxxxxx>
Date: Tue, 22 Jan 2008 13:38:34 +0000
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 22 Jan 2008 05:38:28 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <20080122132653.GA22383@xxxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <20080122132653.GA22383@xxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Short of this being configurable, I think this should be

PREFIX ?= /usr

in order to allow overriding it through the environment.

Jan

>>> Bastian Blank <bastian@xxxxxxxxxxxx> 22.01.08 14:26 >>>
# HG changeset patch
# User Bastian Blank <waldi@xxxxxxxxxx>
# Date 1200745316 -3600
# Node ID c5c18c78ceaeb2a983fb917163f9a0b80be384fe
# Parent  3f26758bcc020c741fdae010f969115064b577c2
Add PREFIX definition as base for all installed files.

Signed-off-by: Bastian Blank <waldi@xxxxxxxxxx>

diff -r 3f26758bcc02 -r c5c18c78ceae config/StdGNU.mk
--- a/config/StdGNU.mkFri Jan 18 22:27:51 2008 +0000
+++ b/config/StdGNU.mkSat Jan 19 13:21:56 2008 +0100
@@ -17,6 +17,8 @@ INSTALL_DATA = $(INSTALL) -m0644 -p
INSTALL_DATA = $(INSTALL) -m0644 -p
INSTALL_PROG = $(INSTALL) -m0755 -p

+PREFIX = /usr
+
LIB64DIR = lib64

SOCKET_LIBS =
diff -r 3f26758bcc02 -r c5c18c78ceae config/SunOS.mk
--- a/config/SunOS.mkFri Jan 18 22:27:51 2008 +0000
+++ b/config/SunOS.mkSat Jan 19 13:21:56 2008 +0100
@@ -18,6 +18,8 @@ INSTALL_DATA = $(INSTALL) -m0644 -p
INSTALL_DATA = $(INSTALL) -m0644 -p
INSTALL_PROG = $(INSTALL) -m0755 -p

+PREFIX = /usr
+
LIB64DIR = lib/amd64

SOCKET_LIBS = -lsocket


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

<Prev in Thread] Current Thread [Next in Thread>