Don't use --stringtable-output - it doesn't work in gettext 0.12.1.

Reported by David Sterba <dave@jikos.cz>
This commit is contained in:
Pavel Roskin 2004-03-05 08:30:22 +00:00
parent d78f9b9bf0
commit a91405e102
1 changed files with 3 additions and 4 deletions

View File

@ -67,10 +67,9 @@ else
fi
# Generate po/POTFILES.in
$XGETTEXT --keyword=_ --keyword=N_ --output=- --stringtable-output \
`find . -name '*.[ch]'` | \
sed -ne 's/^\/\* File: \([^:]*\):.*$/\1/p' | sort | \
uniq | grep -v 'regex.c' >po/POTFILES.in
$XGETTEXT --keyword=_ --keyword=N_ --output=- `find . -name '*.[ch]'` | \
sed -ne '/^#:/{s/#://;s/:[0-9]*/\n/g;s/ //g;p;}' | \
grep -v '^$' | sort | uniq | grep -v 'regex.c' >po/POTFILES.in
ACLOCAL_INCLUDES="-I m4"