mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-22 20:36:50 +03:00
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:
parent
d78f9b9bf0
commit
a91405e102
@ -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"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user