Signed-off-by: Guillaume Rousse diff -Naur -x '*~' xen-unstable.hg/tools/python/Makefile xen-unstable.hg-fix-dtd-location/tools/python/Makefile --- xen-unstable.hg/tools/python/Makefile 2010-02-21 12:07:40.000000000 +0100 +++ xen-unstable.hg-fix-dtd-location/tools/python/Makefile 2010-02-22 11:36:15.000000000 +0100 @@ -63,8 +63,8 @@ $(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 -Naur -x '*~' xen-unstable.hg/tools/python/xen/xm/xenapi_create.py xen-unstable.hg-fix-dtd-location/tools/python/xen/xm/xenapi_create.py --- xen-unstable.hg/tools/python/xen/xm/xenapi_create.py 2010-02-21 12:07:40.000000000 +0100 +++ xen-unstable.hg-fix-dtd-location/tools/python/xen/xm/xenapi_create.py 2010-02-22 11:38:10.000000000 +0100 @@ -78,7 +78,7 @@ 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): """