xref: /netbsd-src/external/gpl2/gettext/dist/gettext-tools/examples/hello-objc-gnome/autogen.sh (revision 946379e7b37692fc43f68eb0d1c10daa0a7f3b6c)
1#!/bin/sh
2# Example for use of GNU gettext.
3# Copyright (C) 2003 Free Software Foundation, Inc.
4# This file is in the public domain.
5#
6# Script for regenerating all autogenerated files.
7
8autopoint -f # was: gettextize -f -c
9rm po/Makevars.template
10rm po/Rules-quot
11rm po/boldquot.sed
12rm po/en@boldquot.header
13rm po/en@quot.header
14rm po/insert-header.sin
15rm po/quot.sed
16
17aclocal -I m4
18
19autoconf
20
21automake -a -c
22
23cd po
24for f in *.po; do
25  if test -r "$f"; then
26    lang=`echo $f | sed -e 's,\.po$,,'`
27    msgfmt -c -o $lang.gmo $lang.po
28  fi
29done
30cd ..
31