[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] Explicitly use GNU msgfmt on non-GNU systems.
# HG changeset patch # User kaf24@xxxxxxxxxxxxxxxxxxxxx # Date 1167409391 0 # Node ID 89d4e80cd1b7e222de843a4b096a274cdd95d8c5 # Parent f0e9c518d0ff27cc3b505e4ba1d6dc9d47b7bd2c Explicitly use GNU msgfmt on non-GNU systems. Signed-off-by: John Levon <john.levon@xxxxxxx> --- config/StdGNU.mk | 2 ++ config/SunOS.mk | 2 ++ tools/python/Makefile | 6 +++--- 3 files changed, 7 insertions(+), 3 deletions(-) diff -r f0e9c518d0ff -r 89d4e80cd1b7 config/StdGNU.mk --- a/config/StdGNU.mk Fri Dec 29 16:17:53 2006 +0000 +++ b/config/StdGNU.mk Fri Dec 29 16:23:11 2006 +0000 @@ -8,6 +8,8 @@ STRIP = $(CROSS_COMPILE)strip STRIP = $(CROSS_COMPILE)strip OBJCOPY = $(CROSS_COMPILE)objcopy OBJDUMP = $(CROSS_COMPILE)objdump + +MSGFMT = msgfmt INSTALL = install INSTALL_DIR = $(INSTALL) -d -m0755 diff -r f0e9c518d0ff -r 89d4e80cd1b7 config/SunOS.mk --- a/config/SunOS.mk Fri Dec 29 16:17:53 2006 +0000 +++ b/config/SunOS.mk Fri Dec 29 16:23:11 2006 +0000 @@ -8,6 +8,8 @@ STRIP = $(CROSS_COMPILE)gstrip STRIP = $(CROSS_COMPILE)gstrip OBJCOPY = $(CROSS_COMPILE)gobjcopy OBJDUMP = $(CROSS_COMPILE)gobjdump + +MSGFMT = gmsgfmt SHELL = bash diff -r f0e9c518d0ff -r 89d4e80cd1b7 tools/python/Makefile --- a/tools/python/Makefile Fri Dec 29 16:17:53 2006 +0000 +++ b/tools/python/Makefile Fri Dec 29 16:23:11 2006 +0000 @@ -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 @@ endif 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 _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |