Imported Upstream version 0.18.1.1
[platform/upstream/gettext.git] / gettext-tools / examples / hello-objc-gnome / autogen.sh
1 #!/bin/sh
2 # Example for use of GNU gettext.
3 # This file is in the public domain.
4 #
5 # Script for regenerating all autogenerated files.
6
7 autopoint -f # was: gettextize -f -c
8 rm po/Makevars.template
9 rm po/Rules-quot
10 rm po/boldquot.sed
11 rm po/en@boldquot.header
12 rm po/en@quot.header
13 rm po/insert-header.sin
14 rm po/quot.sed
15
16 aclocal -I m4
17
18 autoconf
19
20 automake -a -c
21
22 cd po
23 for f in *.po; do
24   if test -r "$f"; then
25     lang=`echo $f | sed -e 's,\.po$,,'`
26     msgfmt -c -o $lang.gmo $lang.po
27   fi
28 done
29 cd ..