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

[Xen-changelog] [xen-unstable] Don't try to copy the .mo files if they haven't been built.



# HG changeset patch
# User Ewan Mellor <ewan@xxxxxxxxxxxxx>
# Date 1166909525 0
# Node ID 367f0c6efe2178e26ba0194ca795ff098e22a80b
# Parent  26f3c7f5de9d00e2d8d765bebe5c412c04c9e65d
Don't try to copy the .mo files if they haven't been built.

Signed-off-by: Ewan Mellor <ewan@xxxxxxxxxxxxx>
---
 tools/python/Makefile |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff -r 26f3c7f5de9d -r 367f0c6efe21 tools/python/Makefile
--- a/tools/python/Makefile     Sat Dec 23 20:20:34 2006 +0000
+++ b/tools/python/Makefile     Sat Dec 23 21:32:05 2006 +0000
@@ -26,8 +26,10 @@ endif
 endif
 
 install-messages: all
-       mkdir -p "$(DESTDIR)/usr/share/locale"
-       cp -R build/messages/* "$(DESTDIR)/usr/share/locale/"
+       if which msgfmt >/dev/null ; then \
+         mkdir -p "$(DESTDIR)/usr/share/locale"; \
+         cp -R build/messages/* "$(DESTDIR)/usr/share/locale/"; \
+       fi
 
 .PHONY: test
 test:

_______________________________________________
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®.