diff options
author | Nick Clifton <nickc@redhat.com> | 2001-11-20 19:00:47 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2001-11-20 19:00:47 +0000 |
commit | 43e64072431c2fca3a5c9e914341458558350ff2 (patch) | |
tree | 8e3fd5cf66f6655750d8ccf668b318bb0837623d | |
parent | 5bbc1a8e410369b785d3e51bf4c841221d139bb4 (diff) | |
download | gdb-43e64072431c2fca3a5c9e914341458558350ff2.zip gdb-43e64072431c2fca3a5c9e914341458558350ff2.tar.gz gdb-43e64072431c2fca3a5c9e914341458558350ff2.tar.bz2 |
Use msgfmt to generate .gmo files from .po files for a distribution.
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | Makefile.in | 5 |
2 files changed, 10 insertions, 0 deletions
@@ -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. 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) |