procps/po/update-potfiles

14 lines
224 B
Plaintext
Raw Normal View History

#!/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
echo include/c.h >> po/POTFILES.in