~ubuntu-branches/ubuntu/breezy/gettext/breezy

« back to all changes in this revision

Viewing changes to gettext-tools/examples/hello-objc/autogen.sh

  • Committer: Bazaar Package Importer
  • Author(s): Santiago Vila
  • Date: 2004-03-14 17:40:02 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20040314174002-p1ad5ldve1hqzhye
Tags: 0.14.1-2
* Added libexpat1-dev to Build-Depends, for glade support.
* Added libc0.1-dev to Build-Depends, for GNU/kFreeBSD.
* Removed special-casing of knetbsd-gnu in debian/rules.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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
 
 
8
test -r ../Makefile.am || . ../installpaths
 
9
 
 
10
cp -p ${GETTEXTSRCDIR-../../../gettext-tools/lib}/gettext.h gettext.h
 
11
 
 
12
autopoint -f # was: gettextize -f -c
 
13
rm po/Makevars.template
 
14
rm po/Rules-quot
 
15
rm po/boldquot.sed
 
16
rm po/en@boldquot.header
 
17
rm po/en@quot.header
 
18
rm po/insert-header.sin
 
19
rm po/quot.sed
 
20
 
 
21
aclocal -I m4
 
22
 
 
23
autoconf
 
24
 
 
25
automake -a -c
 
26
 
 
27
cd po
 
28
for f in *.po; do
 
29
  if test -r "$f"; then
 
30
    lang=`echo $f | sed -e 's,\.po$,,'`
 
31
    msgfmt -c -o $lang.gmo $lang.po
 
32
  fi
 
33
done
 
34
cd ..