#!/bin/sh
# This script is in the public domain.

# Set language domain to C for a more stable sort!
export LANG=C
# Manual says, it should be LC_ALL...
export LC_ALL=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

