aboutsummaryrefslogtreecommitdiffstats
path: root/tools/python/Makefile
diff options
context:
space:
mode:
authorkfraser@localhost.localdomain <kfraser@localhost.localdomain>2007-04-17 12:21:33 +0100
committerkfraser@localhost.localdomain <kfraser@localhost.localdomain>2007-04-17 12:21:33 +0100
commita247b8c7db0b81871d089a69b60f4e1fbee33ee1 (patch)
tree62a18cbde1d9f65f9bcc68d1ac8b101a97b16d7a /tools/python/Makefile
parentbd9d988e80da89286ec76256f6ab4779026dc200 (diff)
downloadxen-a247b8c7db0b81871d089a69b60f4e1fbee33ee1.tar.gz
xen-a247b8c7db0b81871d089a69b60f4e1fbee33ee1.tar.bz2
xen-a247b8c7db0b81871d089a69b60f4e1fbee33ee1.zip
tools: Use INSTALL_{DIR,DATA} to install stuff.
Signed-off-by: Keir Fraser <keir@xensource.com>
Diffstat (limited to 'tools/python/Makefile')
-rw-r--r--tools/python/Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/tools/python/Makefile b/tools/python/Makefile
index cd6941c617..c4eda62b42 100644
--- a/tools/python/Makefile
+++ b/tools/python/Makefile
@@ -64,16 +64,16 @@ install: install-messages install-dtd
endif
install-dtd: all
- $(INSTALL) -m 755 -d $(DESTDIR)/usr/share/xen
- $(INSTALL) -m 755 xen/xm/create.dtd $(DESTDIR)/usr/share/xen
+ $(INSTALL_DIR) $(DESTDIR)/usr/share/xen
+ $(INSTALL_DATA) xen/xm/create.dtd $(DESTDIR)/usr/share/xen
install-messages: all
if which $(MSGFMT) >/dev/null ; then \
mkdir -p $(DESTDIR)$(NLSDIR); \
for l in $(LINGUAS); do \
- $(INSTALL) -m 755 -d $(DESTDIR)$(NLSDIR)/$$l; \
- $(INSTALL) -m 755 -d $(DESTDIR)$(NLSDIR)/$$l/LC_MESSAGES; \
- $(INSTALL) -m 644 $(PODIR)/$$l.mo \
+ $(INSTALL_DIR) $(DESTDIR)$(NLSDIR)/$$l; \
+ $(INSTALL_DIR) $(DESTDIR)$(NLSDIR)/$$l/LC_MESSAGES; \
+ $(INSTALL_DATA) $(PODIR)/$$l.mo \
$(DESTDIR)$(NLSDIR)/$$l/LC_MESSAGES/$(POPACKAGE).mo; \
done ; \
fi