|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] [xen-unstable] Install dtd into correct place
# HG changeset patch
# User Tom Wilkie <tom.wilkie@xxxxxxxxx>
# Date 1176479643 -3600
# Node ID 8ea56a6141dd80acbccfb71b343f93249199aef0
# Parent 66e935c095301b6d3e75c8317fbb71afeff0e513
Install dtd into correct place
signed-off-by: Tom Wilkie <tom.wilkie@xxxxxxxxx>
---
tools/python/Makefile | 7 +++++--
tools/python/xen/xm/xenapi_create.py | 2 +-
2 files changed, 6 insertions(+), 3 deletions(-)
diff -r 66e935c09530 -r 8ea56a6141dd tools/python/Makefile
--- a/tools/python/Makefile Fri Apr 13 16:46:41 2007 +0100
+++ b/tools/python/Makefile Fri Apr 13 16:54:03 2007 +0100
@@ -56,12 +56,15 @@ refresh-po: $(POTFILE)
.PHONY: install
ifndef XEN_PYTHON_NATIVE_INSTALL
install: LIBPATH=$(shell PYTHONPATH=xen/util python -c "import auxbin; print
auxbin.libpath()")
-install: install-messages
+install: install-messages install-dtd
CC="$(CC)" CFLAGS="$(CFLAGS)" python setup.py install
--home="$(DESTDIR)/usr" --prefix="" --force
--install-lib="$(DESTDIR)$(LIBPATH)/python"
else
-install: install-messages
+install: install-messages install-dtd
CC="$(CC)" CFLAGS="$(CFLAGS)" python setup.py install
--root="$(DESTDIR)" --force
endif
+
+install-dtd: all
+ $(INSTALL) -m 755 xen/xm/create.dtd $(DESTDIR)/usr/share/xen
install-messages: all
if which $(MSGFMT) >/dev/null ; then \
diff -r 66e935c09530 -r 8ea56a6141dd tools/python/xen/xm/xenapi_create.py
--- a/tools/python/xen/xm/xenapi_create.py Fri Apr 13 16:46:41 2007 +0100
+++ b/tools/python/xen/xm/xenapi_create.py Fri Apr 13 16:54:03 2007 +0100
@@ -72,7 +72,7 @@ class xenapi_create:
def __init__(self):
self.DEFAULT_STORAGE_REPOSITORY = get_default_SR()
- self.dtd = "/usr/lib/python/xen/xm/create.dtd"
+ self.dtd = "/usr/share/xen/create.dtd"
def create(self, filename=None, document=None, skipdtd=False):
"""
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-changelog] [xen-unstable] Install dtd into correct place,
Xen patchbot-unstable <=
|
|
|
|
|