Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2001-11-20 22:00:47 +0300
committerNick Clifton <nickc@redhat.com>2001-11-20 22:00:47 +0300
commit57cd47737fce9f316e1e1faba52eff7cd14f93c2 (patch)
tree6be6b5e94a4d3aba217f0af7e747f4610d80c66c /Makefile.in
parent8ac90051e66e423886555bdc98c9b5301e414dfd (diff)
Use msgfmt to generate .gmo files from .po files for a distribution.
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile.in b/Makefile.in
index 986cbd569..f6252662e 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)