mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 18:50:05 +01:00
python: Don't install anything directly under /usr/share
Signed-off-by: Guillaume Rousse <Guillaume.Rousse@inria.fr>
This commit is contained in:
1 parent
9a6ad742e6
commit
79e0b9479d
2 files changed
+3
-3
No files matched your search
@@ -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 \
|
||||
|
||||
@@ -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):
|
||||
"""
|
||||
|
||||