| 1 |
#!/bin/sh |
| 2 |
|
| 3 |
if [ ! -f "po/Makevars" ]; then |
| 4 |
echo "You must run this script in the top-level directory" |
| 5 |
exit 1 |
| 6 |
fi |
| 7 |
|
| 8 |
find . -name '*.c' | |
| 9 |
sort | |
| 10 |
sed 's|^./|| |
| 11 |
/^contrib/d |
| 12 |
/^procps-ng/d' > po/POTFILES.in |
| 13 |
|
| 14 |
echo local/c.h >> po/POTFILES.in |