aboutsummaryrefslogtreecommitdiff
path: root/contrib/pogen.sh
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/pogen.sh')
-rwxr-xr-xcontrib/pogen.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/contrib/pogen.sh b/contrib/pogen.sh
new file mode 100755
index 00000000..87c90adf
--- /dev/null
+++ b/contrib/pogen.sh
@@ -0,0 +1,4 @@
1#!/bin/sh
2find src -name "*.c" | grep -v \# | grep -v /test_ | grep -v /perf_ | grep -v _old | grep -v chat | grep -v .libs/ | sort > po/POTFILES.in
3grep -l _\( `find src -name "*.h"` | grep -v "platform.h" | grep -v _old | grep -v chat | sort >> po/POTFILES.in
4