ia64/xen-unstable

changeset 14873:7b391c27f410

tools: Use INSTALL_{DIR,DATA} to install stuff.
Signed-off-by: Keir Fraser <keir@xensource.com>
author kfraser@localhost.localdomain
date Tue Apr 17 12:21:33 2007 +0100 (2007-04-17)
parents 046fd974b4dc
children 9cf4c575b509
files tools/python/Makefile
line diff
     1.1 --- a/tools/python/Makefile	Tue Apr 17 12:01:00 2007 +0100
     1.2 +++ b/tools/python/Makefile	Tue Apr 17 12:21:33 2007 +0100
     1.3 @@ -64,16 +64,16 @@ install: install-messages install-dtd
     1.4  endif
     1.5  
     1.6  install-dtd: all
     1.7 -	$(INSTALL) -m 755 -d $(DESTDIR)/usr/share/xen
     1.8 -	$(INSTALL) -m 755 xen/xm/create.dtd $(DESTDIR)/usr/share/xen
     1.9 +	$(INSTALL_DIR) $(DESTDIR)/usr/share/xen
    1.10 +	$(INSTALL_DATA) xen/xm/create.dtd $(DESTDIR)/usr/share/xen
    1.11  
    1.12  install-messages: all
    1.13  	if which $(MSGFMT) >/dev/null ; then \
    1.14  		mkdir -p $(DESTDIR)$(NLSDIR); \
    1.15  		for l in $(LINGUAS); do \
    1.16 -			$(INSTALL) -m 755 -d $(DESTDIR)$(NLSDIR)/$$l; \
    1.17 -			$(INSTALL) -m 755 -d $(DESTDIR)$(NLSDIR)/$$l/LC_MESSAGES; \
    1.18 -			$(INSTALL) -m 644 $(PODIR)/$$l.mo \
    1.19 +			$(INSTALL_DIR) $(DESTDIR)$(NLSDIR)/$$l; \
    1.20 +			$(INSTALL_DIR) $(DESTDIR)$(NLSDIR)/$$l/LC_MESSAGES; \
    1.21 +			$(INSTALL_DATA) $(PODIR)/$$l.mo \
    1.22  				$(DESTDIR)$(NLSDIR)/$$l/LC_MESSAGES/$(POPACKAGE).mo; \
    1.23  		done ; \
    1.24  	fi