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

[Xen-changelog] [xen-unstable] python: Don't install anything directly under /usr/share



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1266864442 0
# Node ID 4ba4323889b970368675c57417dea94076536431
# Parent  50f7b55b69fc962fdbcc33a0e9ad0e197a385b3a
python: Don't install anything directly under /usr/share
Signed-off-by: Guillaume Rousse <Guillaume.Rousse@xxxxxxxx>
---
 tools/python/Makefile                |    4 ++--
 tools/python/xen/xm/xenapi_create.py |    2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff -r 50f7b55b69fc -r 4ba4323889b9 tools/python/Makefile
--- a/tools/python/Makefile     Mon Feb 22 18:46:09 2010 +0000
+++ b/tools/python/Makefile     Mon Feb 22 18:47:22 2010 +0000
@@ -63,8 +63,8 @@ install: install-messages install-dtd
                $(PYTHON_PREFIX_ARG) --root="$(DESTDIR)" --force
 
 install-dtd: all
-       $(INSTALL_DIR) $(DESTDIR)$(SHAREDIR)
-       $(INSTALL_DATA) xen/xm/create.dtd $(DESTDIR)$(SHAREDIR)
+       $(INSTALL_DIR) $(DESTDIR)$(SHAREDIR)/xen
+       $(INSTALL_DATA) xen/xm/create.dtd $(DESTDIR)$(SHAREDIR)/xen
 
 install-messages: all
        set -e; if which $(MSGFMT) >/dev/null ; then \
diff -r 50f7b55b69fc -r 4ba4323889b9 tools/python/xen/xm/xenapi_create.py
--- a/tools/python/xen/xm/xenapi_create.py      Mon Feb 22 18:46:09 2010 +0000
+++ b/tools/python/xen/xm/xenapi_create.py      Mon Feb 22 18:47:22 2010 +0000
@@ -78,7 +78,7 @@ class xenapi_create:
     def __init__(self):
         self.DEFAULT_STORAGE_REPOSITORY = get_default_SR()
 
-        self.dtd = join(SHAREDIR, "create.dtd")
+        self.dtd = join(SHAREDIR, "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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.