summaryrefslogtreecommitdiffstats
path: root/scripts/generate-potfiles.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/generate-potfiles.sh')
-rwxr-xr-xscripts/generate-potfiles.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/generate-potfiles.sh b/scripts/generate-potfiles.sh
new file mode 100755
index 0000000..e27f7f5
--- /dev/null
+++ b/scripts/generate-potfiles.sh
@@ -0,0 +1,5 @@
+#!/bin/sh
+#
+# A very naïve script to generate po/POTFILES.in.
+
+find src -name '*.[ch]' | LC_ALL=C sort >"$(dirname "${0}")/../po/POTFILES.in"