2008-03-23 07:30:49 -07:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
# We need to be in the working copy's root directory
|
2010-02-19 10:01:05 -08:00
|
|
|
cd "`dirname "$0"`/.."
|
2008-03-23 07:30:49 -07:00
|
|
|
|
|
|
|
# Add the comment to the top of the file
|
|
|
|
cat > po/POTFILES.in << EOF
|
|
|
|
# List of source files which contain translatable strings.
|
|
|
|
EOF
|
|
|
|
|
2010-04-20 07:13:05 -07:00
|
|
|
find lib src data -type f |
|
|
|
|
grep -v '\/.svn\/' |
|
|
|
|
grep -e '\.c\(pp\|xx\)\?$' -e 'data.*strings.*\.txt$' -e '\.slo$' -e '\.rmsg$' |
|
|
|
|
grep -v -e '\.lex\.c\(pp\|xx\)\?$' -e '\.tab\.c\(pp\|xx\)\?$' -e 'lib/netplay/miniupnpc/*' -e 'GLee\.c' |
|
|
|
|
sort >> po/POTFILES.in
|