summaryrefslogtreecommitdiff
path: root/po.mak
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim@centricular.net>2007-08-20 11:57:35 +0000
committerTim-Philipp Müller <tim@centricular.net>2007-08-20 11:57:35 +0000
commit9063ac33729e55191109f7a863e46151ed408f03 (patch)
treecd655bb686d021d96e4a22f9ac98d299c2a54772 /po.mak
parentb3fe2a25c1cd0f4b021795d0db7330aeb338da7c (diff)
Fix up 'download-po' a bit, so that we find new translations for languages that aren't in our po/LINGUAS file yet too.
Original commit message from CVS: * download-translations: * po.mak: Fix up 'download-po' a bit, so that we find new translations for languages that aren't in our po/LINGUAS file yet too.
Diffstat (limited to 'po.mak')
-rw-r--r--po.mak9
1 files changed, 3 insertions, 6 deletions
diff --git a/po.mak b/po.mak
index e042a35..ab4ece4 100644
--- a/po.mak
+++ b/po.mak
@@ -1,7 +1,4 @@
-# rule to download .po
-po/%.po-download:
- @LI=$(@:po/%.po-download=%) && cd po && wget -q -O $$LI.po.tmp http://translationproject.org/latest/$(PACKAGE)/$$LI.po && if ! diff $$LI.po $$LI.po.tmp > /dev/null 2>&1; then echo "$$LI.po changed, updated"; mv $$LI.po.tmp $$LI.po; else rm $$LI.po.tmp; fi
-
-# a rule to redownload po files
+# rule to download the latest .po files
download-po:
- for LI in `cat po/LINGUAS`; do echo Checking $$LI.po; make po/$$LI.po-download; done
+ $(top_srcdir)/common/download-translations $(PACKAGE)
+