summaryrefslogtreecommitdiff
path: root/bin/pogen.sh
diff options
context:
space:
mode:
Diffstat (limited to 'bin/pogen.sh')
-rwxr-xr-xbin/pogen.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/bin/pogen.sh b/bin/pogen.sh
new file mode 100755
index 000000000..87c90adf2
--- /dev/null
+++ b/bin/pogen.sh
@@ -0,0 +1,4 @@
+#!/bin/sh
+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
+