summaryrefslogtreecommitdiff
path: root/gettext-tools/examples/hello-c++-gnome/autogen.sh
diff options
context:
space:
mode:
Diffstat (limited to 'gettext-tools/examples/hello-c++-gnome/autogen.sh')
-rwxr-xr-xgettext-tools/examples/hello-c++-gnome/autogen.sh29
1 files changed, 29 insertions, 0 deletions
diff --git a/gettext-tools/examples/hello-c++-gnome/autogen.sh b/gettext-tools/examples/hello-c++-gnome/autogen.sh
new file mode 100755
index 0000000..7fc2283
--- /dev/null
+++ b/gettext-tools/examples/hello-c++-gnome/autogen.sh
@@ -0,0 +1,29 @@
+#!/bin/sh
+# Example for use of GNU gettext.
+# This file is in the public domain.
+#
+# Script for regenerating all autogenerated files.
+
+autopoint -f # was: gettextize -f -c
+rm po/Makevars.template
+rm po/Rules-quot
+rm po/boldquot.sed
+rm po/en@boldquot.header
+rm po/en@quot.header
+rm po/insert-header.sin
+rm po/quot.sed
+
+aclocal -I m4
+
+autoconf
+
+automake -a -c
+
+cd po
+for f in *.po; do
+ if test -r "$f"; then
+ lang=`echo $f | sed -e 's,\.po$,,'`
+ msgfmt -c -o $lang.gmo $lang.po
+ fi
+done
+cd ..