WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

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

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] Don't try to copy the .mo files if they haven't been built.
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Sat, 23 Dec 2006 15:10:13 -0800
Delivery-date: Sat, 23 Dec 2006 15:11:01 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# 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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] Don't try to copy the .mo files if they haven't been built., Xen patchbot-unstable <=