]> granicus.if.org Git - flex/commitdiff
Add make rule to rsync latest .po files from translation project.
authorWill Estes <westes575@gmail.com>
Sat, 15 Feb 2014 19:12:37 +0000 (14:12 -0500)
committerWill Estes <westes575@gmail.com>
Sun, 16 Feb 2014 14:19:51 +0000 (09:19 -0500)
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.

po/Rules-getpo [new file with mode: 0644]

diff --git a/po/Rules-getpo b/po/Rules-getpo
new file mode 100644 (file)
index 0000000..f0c4a11
--- /dev/null
@@ -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