diff options
author | kaf24@localhost.localdomain <kaf24@localhost.localdomain> | 2006-12-29 16:23:11 +0000 |
---|---|---|
committer | kaf24@localhost.localdomain <kaf24@localhost.localdomain> | 2006-12-29 16:23:11 +0000 |
commit | e7a7e191878420531b66346b9b43e696a0d77627 (patch) | |
tree | cedeefaeae32b1b028c88eff96b2227c33507d03 /tools/python/Makefile | |
parent | cc56b92850c76f8adb4c7da642294bec619eebc6 (diff) | |
download | xen-e7a7e191878420531b66346b9b43e696a0d77627.tar.gz xen-e7a7e191878420531b66346b9b43e696a0d77627.tar.bz2 xen-e7a7e191878420531b66346b9b43e696a0d77627.zip |
Explicitly use GNU msgfmt on non-GNU systems.
Signed-off-by: John Levon <john.levon@sun.com>
Diffstat (limited to 'tools/python/Makefile')
-rw-r--r-- | tools/python/Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/python/Makefile b/tools/python/Makefile index 1c3a6c4ffc..085ac84b5a 100644 --- a/tools/python/Makefile +++ b/tools/python/Makefile @@ -7,12 +7,12 @@ all: build .PHONY: build build: CC="$(CC)" CFLAGS="$(CFLAGS)" python setup.py build - if which msgfmt >/dev/null ; then \ + 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"; \ + $(MSGFMT) -c -o "$$dest" "xen/xm/$$file"; \ done; \ fi @@ -26,7 +26,7 @@ install: install-messages endif install-messages: all - if which msgfmt >/dev/null ; then \ + if which $(MSGFMT) >/dev/null ; then \ mkdir -p "$(DESTDIR)/usr/share/locale"; \ cp -R build/messages/* "$(DESTDIR)/usr/share/locale/"; \ fi |