aboutsummaryrefslogtreecommitdiffstats
path: root/tools/python/Makefile
diff options
context:
space:
mode:
authorKeir Fraser <keir.fraser@citrix.com>2009-06-04 10:38:13 +0100
committerKeir Fraser <keir.fraser@citrix.com>2009-06-04 10:38:13 +0100
commit823f4b145f3bc7fb04952f5e917201dcbfe8d980 (patch)
tree9eda614bae094389d610c14415c963cb79cef973 /tools/python/Makefile
parent2cad22d41f621dc86401730d5dcec3191347054e (diff)
downloadxen-823f4b145f3bc7fb04952f5e917201dcbfe8d980.tar.gz
xen-823f4b145f3bc7fb04952f5e917201dcbfe8d980.tar.bz2
xen-823f4b145f3bc7fb04952f5e917201dcbfe8d980.zip
xm: xen-api: Install create.dtd in SHAREDIR
* Install create.dtd in SHAREDIR * Use SHAREDIR/create.dtd * import os.path.join into xenapi_create.py, it already seems to be used many times Resolves the following error when using XenAPI: $ xm create hvm.conf Couldn't open resource '/usr/share/xen/create.dtd' at /usr/share/xen/create.dtd:1:0 Signed-off-by: Simon Horman <horms@verge.net.au>
Diffstat (limited to 'tools/python/Makefile')
-rw-r--r--tools/python/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/tools/python/Makefile b/tools/python/Makefile
index 7d9394cca9..295bd36ec8 100644
--- a/tools/python/Makefile
+++ b/tools/python/Makefile
@@ -22,6 +22,7 @@ genpath:
echo "BINDIR=\"$(BINDIR)\"" >> ${xenpath}
echo "LIBEXEC=\"$(LIBEXEC)\"" >> ${xenpath}
echo "LIBDIR=\"$(LIBDIR)\"" >> ${xenpath}
+ echo "SHAREDIR=\"$(SHAREDIR)\"" >> ${xenpath}
echo "PRIVATE_BINDIR=\"$(PRIVATE_BINDIR)\"" >> ${xenpath}
echo "XEN_CONFIG_DIR=\"$(XEN_CONFIG_DIR)\"" >> ${xenpath}
echo "XEN_SCRIPT_DIR=\"$(XEN_SCRIPT_DIR)\"" >> ${xenpath}
@@ -70,8 +71,8 @@ install: install-messages install-dtd
$(PYTHON_PREFIX_ARG) --root="$(DESTDIR)" --force
install-dtd: all
- $(INSTALL_DIR) $(DESTDIR)$(DOCDIR)
- $(INSTALL_DATA) xen/xm/create.dtd $(DESTDIR)$(DOCDIR)
+ $(INSTALL_DIR) $(DESTDIR)$(SHAREDIR)
+ $(INSTALL_DATA) xen/xm/create.dtd $(DESTDIR)$(SHAREDIR)
install-messages: all
set -e; if which $(MSGFMT) >/dev/null ; then \