procps/po/update-potfiles
Sami Kerola a220ba6770 build-sys: add NLS support
Add GNU gettext internationalization and localization support.

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
2011-12-20 17:17:03 +01:00

12 lines
188 B
Bash
Executable File

#!/bin/sh
if [ ! -f "po/Makevars" ]; then
echo "You must run this script in the top-level directory"
exit 1
fi
find . -name '*.c' |
sort |
sed 's|^./||
/^contrib/d' > po/POTFILES.in