From: Nick Clifton Date: Tue, 20 Nov 2001 19:00:47 +0000 (+0000) Subject: Use msgfmt to generate .gmo files from .po files for a distribution. X-Git-Tag: cygnus_cvs_20020108_pre~561 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=43e64072431c2fca3a5c9e914341458558350ff2;p=external%2Fbinutils.git Use msgfmt to generate .gmo files from .po files for a distribution. --- diff --git a/ChangeLog b/ChangeLog index a28f667..f82fabe 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2001-11-20 Nick Clifton + + * Makefile.in (do-proto-toplev): Use msgfmt to generate .gmo + files from .po files for a distribution. + 2001-11-19 Hans-Peter Nilsson * COPYING.NEWLIB: Mention preserved notice in specific parts. diff --git a/Makefile.in b/Makefile.in index 986cbd5..f625266 100644 --- a/Makefile.in +++ b/Makefile.in @@ -1864,6 +1864,11 @@ do-proto-toplev: $(DEVO_SUPPORT) $(SUPPORT_FILES) texinfo/texinfo.tex else true; fi chmod -R og=u . || chmod og=u `find . -print` # + # Create .gmo files from .po files. + for f in `find . -name '*.po' -type f -print`; do \ + msgfmt -o `echo $$f | sed -e 's/\.po$$/.gmo/'` $$f ; \ + done + # -rm -f $(PACKAGE)-$(VER) ln -s proto-toplev $(PACKAGE)-$(VER)