[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] [tools] Use auxbin.py to determine libpath at build time.
# HG changeset patch # User Christian Limpach <Christian.Limpach@xxxxxxxxxxxxx> # Date 1173122541 0 # Node ID 02fbfdcd2d90f754448a37d667820c2f5b9710db # Parent e5a0dd445e41ba287f262435220aaa0d951da483 [tools] Use auxbin.py to determine libpath at build time. Signed-off-by: Christian Limpach <Christian.Limpach@xxxxxxxxxxxxx> --- tools/security/Makefile | 5 ++++- 1 files changed, 4 insertions(+), 1 deletion(-) diff -r e5a0dd445e41 -r 02fbfdcd2d90 tools/security/Makefile --- a/tools/security/Makefile Mon Mar 05 19:01:19 2007 +0000 +++ b/tools/security/Makefile Mon Mar 05 19:22:21 2007 +0000 @@ -54,6 +54,9 @@ all: build all: build .PHONY: install +ifndef XEN_PYTHON_NATIVE_INSTALL +install: LIBPATH=$(shell PYTHONPATH=../python/xen/util python -c "import auxbin; print auxbin.libpath()") +endif install: all $(ACM_CONFIG_FILE) $(INSTALL_DIR) -p $(DESTDIR)/usr/sbin $(INSTALL_PROG) -p $(ACM_INST_TOOLS) $(DESTDIR)/usr/sbin @@ -73,7 +76,7 @@ install: all $(ACM_CONFIG_FILE) $(INSTALL_DIR) -p $(DESTDIR)$(ACM_SECGEN_CGIDIR) $(INSTALL_PROG) -p $(ACM_INST_CGI) $(DESTDIR)$(ACM_SECGEN_CGIDIR) ifndef XEN_PYTHON_NATIVE_INSTALL - python python/setup.py install --home="$(DESTDIR)/usr" + python python/setup.py install --home="$(DESTDIR)/usr" --install-lib="$(DESTDIR)$(LIBPATH)/python" else python python/setup.py install --root="$(DESTDIR)" endif _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |