summaryrefslogtreecommitdiff
path: root/po
diff options
context:
space:
mode:
authorWill Estes <westes575@gmail.com>2014-02-15 14:12:37 -0500
committerWill Estes <westes575@gmail.com>2014-02-16 09:19:51 -0500
commit4c3209e737d802faaaf3e3308d70e3b7bb1af9eb (patch)
treecc15c8a4c72288f9fbab022a29308b63cb46a876 /po
parentcb88397c36cb81e8e522dd29b1c5b306f194d954 (diff)
Add make rule to rsync latest .po files from translation project.
The rule assumes that rsync is on the path and that there is exactly one domain listed in the DOMAIN make variable. The intent is that the rule will work with vpath builds.
Diffstat (limited to 'po')
-rw-r--r--po/Rules-getpo9
1 files changed, 9 insertions, 0 deletions
diff --git a/po/Rules-getpo b/po/Rules-getpo
new file mode 100644
index 0000000..f0c4a11
--- /dev/null
+++ b/po/Rules-getpo
@@ -0,0 +1,9 @@
+# Rules to fetch the translation project's po files for a domain
+
+# Just rsync the *.po files for a particular textual domain into the
+# po/ subdirectory of the project's source tree
+
+getpo:
+ rsync -Ltvz translationproject.org::tp/latest/flex/*.po $(top_srcdir)/po
+
+.PHONY: getpo