procps/po/update-potfiles
Craig Small 4ec809bc6f nls: Update translations for lib change
Signed-off-by: Craig Small <csmall@dropbear.xyz>
2022-08-29 20:50:53 +10:00

15 lines
236 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
/^procps-ng/d' > po/POTFILES.in
echo local/c.h >> po/POTFILES.in