mirror of
https://github.com/Stichting-MINIX-Research-Foundation/netbsd.git
synced 2025-09-11 16:15:07 -04:00
31 lines
551 B
Bash
31 lines
551 B
Bash
#!/bin/sh
|
|
# Example for use of GNU gettext.
|
|
# Copyright (C) 2003 Free Software Foundation, Inc.
|
|
# This file is in the public domain.
|
|
#
|
|
# Script for regenerating all autogenerated files.
|
|
|
|
autopoint -f # was: gettextize -f -c
|
|
rm po/Makevars.template
|
|
rm po/Rules-quot
|
|
rm po/boldquot.sed
|
|
rm po/en@boldquot.header
|
|
rm po/en@quot.header
|
|
rm po/insert-header.sin
|
|
rm po/quot.sed
|
|
|
|
aclocal -I m4
|
|
|
|
autoconf
|
|
|
|
automake -a -c
|
|
|
|
cd po
|
|
for f in *.po; do
|
|
if test -r "$f"; then
|
|
lang=`echo $f | sed -e 's,\.po$,,'`
|
|
msgfmt -c -o $lang.gmo $lang.po
|
|
fi
|
|
done
|
|
cd ..
|