|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] [xen-unstable] Only build the message database if msgfmt
# HG changeset patch
# User Ewan Mellor <ewan@xxxxxxxxxxxxx>
# Date 1166900791 0
# Node ID 967426f60378716aa60279a6f18eadc85dd4d9c4
# Parent 93ca2dcd681d7b4597ac50f40f190b0dc6e4f447
Only build the message database if msgfmt is installed.
Signed-off-by: Ewan Mellor <ewan@xxxxxxxxxxxxx>
---
tools/python/Makefile | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diff -r 93ca2dcd681d -r 967426f60378 tools/python/Makefile
--- a/tools/python/Makefile Sat Dec 23 11:37:01 2006 +0000
+++ b/tools/python/Makefile Sat Dec 23 19:06:31 2006 +0000
@@ -7,12 +7,14 @@ all: build
.PHONY: build
build:
CC="$(CC)" CFLAGS="$(CFLAGS)" python setup.py build
- for file in `cd xen/xm; find messages -name xen-xm.po`; do \
+ if which msgfmt >/dev/null ; then \
+ for file in `cd xen/xm; find messages -name xen-xm.po`; do \
dest=`echo "build/$$file" | \
sed -e 's#xen-xm.po#LC_MESSAGES/xen-xm.mo#'`; \
mkdir -p `dirname "$$dest"`; \
msgfmt -c -o "$$dest" "xen/xm/$$file"; \
- done
+ done; \
+ fi
.PHONY: install
ifndef XEN_PYTHON_NATIVE_INSTALL
_______________________________________________
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] Only build the message database if msgfmt is installed.,
Xen patchbot-unstable <=
|
|
|
|
|