ia64/xen-unstable

changeset 13179:367f0c6efe21

Don't try to copy the .mo files if they haven't been built.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
author Ewan Mellor <ewan@xensource.com>
date Sat Dec 23 21:32:05 2006 +0000 (2006-12-23)
parents 26f3c7f5de9d
children 4e079a8496b7
files tools/python/Makefile
line diff
     1.1 --- a/tools/python/Makefile	Sat Dec 23 20:20:34 2006 +0000
     1.2 +++ b/tools/python/Makefile	Sat Dec 23 21:32:05 2006 +0000
     1.3 @@ -26,8 +26,10 @@ install: install-messages
     1.4  endif
     1.5  
     1.6  install-messages: all
     1.7 -	mkdir -p "$(DESTDIR)/usr/share/locale"
     1.8 -	cp -R build/messages/* "$(DESTDIR)/usr/share/locale/"
     1.9 +	if which msgfmt >/dev/null ; then \
    1.10 +	  mkdir -p "$(DESTDIR)/usr/share/locale"; \
    1.11 +	  cp -R build/messages/* "$(DESTDIR)/usr/share/locale/"; \
    1.12 +	fi
    1.13  
    1.14  .PHONY: test
    1.15  test: