summaryrefslogtreecommitdiffstats
path: root/po/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'po/Makefile')
-rw-r--r--po/Makefile14
1 files changed, 14 insertions, 0 deletions
diff --git a/po/Makefile b/po/Makefile
new file mode 100644
index 0000000..ac8f6b9
--- /dev/null
+++ b/po/Makefile
@@ -0,0 +1,14 @@
+#
+# copied from the gpodder makefile by Thomas Perl, also GPL
+
+update:
+ for langfile in *.po; do echo 'Compiling translation:' $${langfile}; mkdir -p ../locale/`basename $${langfile} .po`/LC_MESSAGES/; msgfmt $${langfile} -o ../locale/`basename $${langfile} .po`/LC_MESSAGES/vf_node_server.mo; done
+
+generators:
+ for langfile in *.po; do echo -n $${langfile}; msgmerge -U $${langfile} ../messages.pot; done
+
+clean:
+ rm -rf ../locale *~ *.mo
+
+.PHONY: update generators clean
+