ia64/xen-unstable

changeset 4110:0865d1223c52

bitkeeper revision 1.1159.270.4 (42330defA42oRGAfkwmQERgN45uyOg)

Python packages can be installed to the Python installation's 'native'
location, instead of generic /usr/lib/python, by specifying
XEN_PYTHON_NATIVE_INSTALL in the environment or on the make command line.
Signed-off-by: Keir Fraser <keir@xensource.com>
author kaf24@viper.(none)
date Sat Mar 12 15:42:39 2005 +0000 (2005-03-12)
parents 3ee85723a341
children a0be5e5a1f37 508b288d20e2
files tools/python/Makefile
line diff
     1.1 --- a/tools/python/Makefile	Sat Mar 12 15:29:44 2005 +0000
     1.2 +++ b/tools/python/Makefile	Sat Mar 12 15:42:39 2005 +0000
     1.3 @@ -6,8 +6,13 @@ all: build
     1.4  build:
     1.5  	CFLAGS="$(CFLAGS)" python setup.py build
     1.6  
     1.7 +ifndef XEN_PYTHON_NATIVE_INSTALL
     1.8  install: all
     1.9  	CFLAGS="$(CFLAGS)" python setup.py install --home="$(DESTDIR)/usr"
    1.10 +else
    1.11 +install: all
    1.12 +	CFLAGS="$(CFLAGS)" python setup.py install --root="$(DESTDIR)"
    1.13 +endif
    1.14  
    1.15  clean:
    1.16  	rm -rf build *.pyc *.pyo *.o *.a *~