procps/po/update-potfiles
Trần Ngọc Quân f1a7b27921 l10n: po/update-potfile: add include/c.h
Signed-off-by: Trần Ngọc Quân <vnwildman@gmail.com>
2014-04-16 15:56:03 +07:00

14 lines
224 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
echo include/c.h >> po/POTFILES.in