summaryrefslogtreecommitdiff
path: root/bin/pogen.sh
blob: b97ef046ad7442d7d7ad118fd0578748212998bc (plain)
1
2
3
4
5
6
7
8
9
#!/bin/sh
# This script is in the public domain.

# Set language domain to C for a more stable sort!
export LANG=C

find src -name "*.c" | grep -v \# | grep -v /test_ | grep -v /perf_  | grep -v _old | grep -v chat | grep -v .libs/ | sort  > po/POTFILES.in
grep -l _\( `find src -name "*.h"` | grep -v "platform.h" | grep -v _old | grep -v chat | sort >> po/POTFILES.in