debuggers.hg
changeset 21013:4ba4323889b9
python: Don't install anything directly under /usr/share
Signed-off-by: Guillaume Rousse <Guillaume.Rousse@inria.fr>
Signed-off-by: Guillaume Rousse <Guillaume.Rousse@inria.fr>
author | Keir Fraser <keir.fraser@citrix.com> |
---|---|
date | Mon Feb 22 18:47:22 2010 +0000 (2010-02-22) |
parents | 50f7b55b69fc |
children | 351a34c2fd48 |
files | tools/python/Makefile tools/python/xen/xm/xenapi_create.py |
line diff
1.1 --- a/tools/python/Makefile Mon Feb 22 18:46:09 2010 +0000 1.2 +++ b/tools/python/Makefile Mon Feb 22 18:47:22 2010 +0000 1.3 @@ -63,8 +63,8 @@ install: install-messages install-dtd 1.4 $(PYTHON_PREFIX_ARG) --root="$(DESTDIR)" --force 1.5 1.6 install-dtd: all 1.7 - $(INSTALL_DIR) $(DESTDIR)$(SHAREDIR) 1.8 - $(INSTALL_DATA) xen/xm/create.dtd $(DESTDIR)$(SHAREDIR) 1.9 + $(INSTALL_DIR) $(DESTDIR)$(SHAREDIR)/xen 1.10 + $(INSTALL_DATA) xen/xm/create.dtd $(DESTDIR)$(SHAREDIR)/xen 1.11 1.12 install-messages: all 1.13 set -e; if which $(MSGFMT) >/dev/null ; then \
2.1 --- a/tools/python/xen/xm/xenapi_create.py Mon Feb 22 18:46:09 2010 +0000 2.2 +++ b/tools/python/xen/xm/xenapi_create.py Mon Feb 22 18:47:22 2010 +0000 2.3 @@ -78,7 +78,7 @@ class xenapi_create: 2.4 def __init__(self): 2.5 self.DEFAULT_STORAGE_REPOSITORY = get_default_SR() 2.6 2.7 - self.dtd = join(SHAREDIR, "create.dtd") 2.8 + self.dtd = join(SHAREDIR, "xen", "create.dtd") 2.9 2.10 def create(self, filename=None, document=None, skipdtd=False): 2.11 """