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

« back to all changes in this revision

Viewing changes to gettext-tools/examples/hello-tcl-tk/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 ${ACLOCALDIR-../../../gettext-runtime/m4}/nls.m4 m4/nls.m4
 
11
cp -p ${ACLOCALDIR-../../../gettext-runtime/m4}/po.m4 m4/po.m4
 
12
cp -p ${GETTEXTSRCPODIR-../../../gettext-runtime/po}/remove-potcdate.sin po/remove-potcdate.sin
 
13
 
 
14
aclocal -I m4
 
15
 
 
16
autoconf
 
17
 
 
18
automake -a -c
 
19
 
 
20
cd po
 
21
for f in *.po; do
 
22
  if test -r "$f"; then
 
23
    lang=`echo $f | sed -e 's,\.po$,,'`
 
24
    msgfmt -c --tcl -d . -l $lang $lang.po
 
25
  fi
 
26
done
 
27
cd ..