diff options
author | Keir Fraser <keir.fraser@citrix.com> | 2010-02-22 18:47:22 +0000 |
---|---|---|
committer | Keir Fraser <keir.fraser@citrix.com> | 2010-02-22 18:47:22 +0000 |
commit | 79e0b9479d3d37940fdbff83183daaeafacbe668 (patch) | |
tree | 6def833bae310ff7ca34200334c477c140dc7811 | |
parent | 9a6ad742e65e08f7b772683581288847c6a69885 (diff) | |
download | xen-79e0b9479d3d37940fdbff83183daaeafacbe668.tar.gz xen-79e0b9479d3d37940fdbff83183daaeafacbe668.tar.bz2 xen-79e0b9479d3d37940fdbff83183daaeafacbe668.zip |
python: Don't install anything directly under /usr/share
Signed-off-by: Guillaume Rousse <Guillaume.Rousse@inria.fr>
-rw-r--r-- | tools/python/Makefile | 4 | ||||
-rw-r--r-- | tools/python/xen/xm/xenapi_create.py | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/tools/python/Makefile b/tools/python/Makefile index 6fa4d5b00e..7dfc45948d 100644 --- a/tools/python/Makefile +++ b/tools/python/Makefile @@ -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 --git a/tools/python/xen/xm/xenapi_create.py b/tools/python/xen/xm/xenapi_create.py index 4c0177b4aa..e56be76393 100644 --- a/tools/python/xen/xm/xenapi_create.py +++ b/tools/python/xen/xm/xenapi_create.py @@ -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): """ |