diff options
author | Tom Wilkie <tom.wilkie@gmail.com> | 2007-04-13 16:54:03 +0100 |
---|---|---|
committer | Tom Wilkie <tom.wilkie@gmail.com> | 2007-04-13 16:54:03 +0100 |
commit | 1d4f277da8ecdd0e858bb12d37f9c01ce5e3b266 (patch) | |
tree | b8bc7ff6db5587768d06973742e74d97807ca75a /tools/python/Makefile | |
parent | 7771ae57e8e1678538241cba9145428d571c9b70 (diff) | |
download | xen-1d4f277da8ecdd0e858bb12d37f9c01ce5e3b266.tar.gz xen-1d4f277da8ecdd0e858bb12d37f9c01ce5e3b266.tar.bz2 xen-1d4f277da8ecdd0e858bb12d37f9c01ce5e3b266.zip |
Install dtd into correct place
signed-off-by: Tom Wilkie <tom.wilkie@gmail.com>
Diffstat (limited to 'tools/python/Makefile')
-rw-r--r-- | tools/python/Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/tools/python/Makefile b/tools/python/Makefile index 309c815352..469a4e9af0 100644 --- a/tools/python/Makefile +++ b/tools/python/Makefile @@ -56,13 +56,16 @@ refresh-po: $(POTFILE) .PHONY: install ifndef XEN_PYTHON_NATIVE_INSTALL install: LIBPATH=$(shell PYTHONPATH=xen/util python -c "import auxbin; print auxbin.libpath()") -install: install-messages +install: install-messages install-dtd CC="$(CC)" CFLAGS="$(CFLAGS)" python setup.py install --home="$(DESTDIR)/usr" --prefix="" --force --install-lib="$(DESTDIR)$(LIBPATH)/python" else -install: install-messages +install: install-messages install-dtd CC="$(CC)" CFLAGS="$(CFLAGS)" python setup.py install --root="$(DESTDIR)" --force endif +install-dtd: all + $(INSTALL) -m 755 xen/xm/create.dtd $(DESTDIR)/usr/share/xen + install-messages: all if which $(MSGFMT) >/dev/null ; then \ mkdir -p $(DESTDIR)$(NLSDIR); \ |