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