Use msgfmt to generate .gmo files from .po files for a distribution.
authorNick Clifton <nickc@redhat.com>
Tue, 20 Nov 2001 19:00:47 +0000 (19:00 +0000)
committerNick Clifton <nickc@redhat.com>
Tue, 20 Nov 2001 19:00:47 +0000 (19:00 +0000)
ChangeLog
Makefile.in

index a28f667957c3aea8208a9c252e247a1a066c7e5b..f82fabe323df652f1fe4bdbe800145ec8deca24d 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2001-11-20  Nick Clifton  <nickc@cambridge.redhat.com>
+
+       * Makefile.in (do-proto-toplev): Use msgfmt to generate .gmo
+       files from .po files for a distribution.
+
 2001-11-19  Hans-Peter Nilsson  <hp@bitrange.com>
 
        * COPYING.NEWLIB: Mention preserved notice in specific parts.
index 986cbd569d7ca57cf94752f681e3b7a084ed7fb1..f6252662e43400960100d8601bfb5d7d7dfa8777 100644 (file)
@@ -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)