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

[Xen-changelog] build: Make sure that DESTDIR is set



# HG changeset patch
# User kaf24@xxxxxxxxxxxxxxxxxxxx
# Node ID baa1742637b7e4a2d94db08b4f12c2a0f8b07128
# Parent  095519654079f55af70943004e448fb779ac4c5a
build: Make sure that DESTDIR is set

In the case where XEN_PYTHON_NATIVE_INSTALL is in effect,
if DESTDIR is not set then the install will go into a relative
directory rather than under the default prefix (usually /usr).

An alternate solution would be to update the fragments
that do the python install to use $(DESTDIR)/ instead of
$(DESTDIR). This is not an incredible burden as there
are only two such fragments in the tree. However, it
seems prone to error as new makefiles are created
in the future.

Signed-Off-By: Horms <horms@xxxxxxxxxxxx>

diff -r 095519654079 -r baa1742637b7 Config.mk
--- a/Config.mk Mon Apr 10 15:27:46 2006
+++ b/Config.mk Mon Apr 10 15:31:53 2006
@@ -24,6 +24,7 @@
 OBJDUMP    = $(CROSS_COMPILE)objdump
 
 DISTDIR     ?= $(XEN_ROOT)/dist
+DESTDIR     ?= /
 
 INSTALL      = install
 INSTALL_DIR  = $(INSTALL) -d -m0755

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