WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] [xen-unstable] Install dtd into correct place

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] Install dtd into correct place
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Wed, 18 Apr 2007 07:30:18 -0700
Delivery-date: Wed, 18 Apr 2007 07:32:02 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# 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 <=