summaryrefslogtreecommitdiffstats
path: root/po/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'po/Makefile.am')
-rw-r--r--po/Makefile.am18
1 files changed, 18 insertions, 0 deletions
diff --git a/po/Makefile.am b/po/Makefile.am
new file mode 100644
index 0000000..9ee3894
--- /dev/null
+++ b/po/Makefile.am
@@ -0,0 +1,18 @@
+POFILES = AUTO
+
+EXTRA_DIST = kpowersave.pot
+
+messages_stat:
+ for f in *.po; do echo -n $f :; msgfmt --stat $f ; done
+
+messages_merge:
+ for f in *.po; do echo -n $f :; msgmerge -U $f kpowersave.pot; done
+
+messages_diff:
+ for f in *.po; \
+ do \
+ msgmerge $f kpowersave.pot > $f.tmp; \
+ echo -n "diff $f to $f.diff"; \
+ msgcomm --force-po -o $f.diff --less-than 2 $f $f.tmp; \
+ rm $f.tmp; \
+ done