blob: 380208d64bb53536fcfbdc06da683d4755b1b6c3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
#! /bin/sh
# One argument is required which is the path to the toplevel directory
# of the distribution.
trap 'rm -fr $tmpfiles' 1 2 3 15
tmpfiles="zero-domain.po"
rm -f zero-domain.po
: ${XGETTEXT=xgettext}
LC_MESSAGES=C LC_ALL= \
${XGETTEXT} -k_ -d zero-domain -x $top_srcdir/po/gettext.pot \
$top_srcdir/src/xgettext.c 2>&1 \
| grep -v '\(warning: Charset\|^ \)'
test ! -f zero-domain.po
result=$?
rm -fr $tmpfiles
exit $result
|