pogen.sh 371 B

123456789
  1. #!/bin/sh
  2. # This script is in the public domain.
  3. # Set language domain to C for a more stable sort!
  4. export LANG=C
  5. 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
  6. grep -l _\( `find src -name "*.h"` | grep -v "platform.h" | grep -v _old | grep -v chat | sort >> po/POTFILES.in