summaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2001-11-20 19:00:47 +0000
committerNick Clifton <nickc@redhat.com>2001-11-20 19:00:47 +0000
commit93e8984e23e11a1abeb9e453b74fbc0b61718a59 (patch)
treeed8fccd843de6f96117c0f95b6fb0bb0b6afe15a /Makefile.in
parente083807b82605bc106b3df3f0e505b5b5c6a3005 (diff)
downloadgdb-93e8984e23e11a1abeb9e453b74fbc0b61718a59.tar.gz
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 986cbd569d7..f6252662e43 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)