[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] tools: Use INSTALL_{DIR, DATA} to install stuff.



# HG changeset patch
# User kfraser@xxxxxxxxxxxxxxxxxxxxx
# Date 1176808893 -3600
# Node ID 7b391c27f410d429028ce56db0b37824020821e3
# Parent  046fd974b4dc66bed3ace35426d8639feb77cba1
tools: Use INSTALL_{DIR,DATA} to install stuff.
Signed-off-by: Keir Fraser <keir@xxxxxxxxxxxxx>
---
 tools/python/Makefile |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff -r 046fd974b4dc -r 7b391c27f410 tools/python/Makefile
--- a/tools/python/Makefile     Tue Apr 17 12:01:00 2007 +0100
+++ b/tools/python/Makefile     Tue Apr 17 12:21:33 2007 +0100
@@ -64,16 +64,16 @@ endif
 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

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.