summaryrefslogtreecommitdiffstats
path: root/po/update-potfiles
diff options
context:
space:
mode:
Diffstat (limited to 'po/update-potfiles')
-rw-r--r--po/update-potfiles18
1 files changed, 18 insertions, 0 deletions
diff --git a/po/update-potfiles b/po/update-potfiles
new file mode 100644
index 000000000..2b7baf8c7
--- /dev/null
+++ b/po/update-potfiles
@@ -0,0 +1,18 @@
+#!/bin/sh
+#
+#
+
+> POTFILES
+> .null
+> POTFILES.in
+
+for x in ../*/*.c; do
+echo "$x \\" >> POTFILES
+done
+echo .null >> POTFILES
+
+cd ..
+for x in */*.c; do
+echo "$x" >> po/POTFILES.in
+done
+cd po