summaryrefslogtreecommitdiff
path: root/po.mak
diff options
context:
space:
mode:
authorThomas Vander Stichele <thomas@apestaart.org>2004-05-03 13:42:16 +0000
committerThomas Vander Stichele <thomas@apestaart.org>2004-05-03 13:42:16 +0000
commit95ba8839c03a7f8939a2ae4b0586b012e929fc84 (patch)
tree7499b8c5b60593f8fd3ff8593bcf5be2337fbf7a /po.mak
parent9e639817a831102ab82a3f95207cdc24852d6025 (diff)
downloadgstreamer-common-95ba8839c03a7f8939a2ae4b0586b012e929fc84.tar.gz
sillyfix
Original commit message from CVS: sillyfix
Diffstat (limited to 'po.mak')
-rw-r--r--po.mak21
1 files changed, 5 insertions, 16 deletions
diff --git a/po.mak b/po.mak
index 14604d0..53d376d 100644
--- a/po.mak
+++ b/po.mak
@@ -1,18 +1,7 @@
# rule to download .po
-po / %.po - download:
-@LI = $ (@: po / %.po - download = %) && cd po && wget - q - O $$LI.po.tmp http:
- //www.iro.umontreal.ca/translation/maint/$(PACKAGE)/$$LI && 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
-
+po/%.po-download:
+ @LI=$(@:po/%.po-download=%) && cd po && wget -q -O $$LI.po.tmp http://www.iro.umontreal.ca/translation/maint/$(PACKAGE)/$$LI && 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
-download - po:
-for LI
- in ` cat po / LINGUAS `;
-do
- echo Checking $$LI.po;
- make
- po /
- $$LI.
- po -
- download;
-
-done
+download-po:
+ for LI in `cat po/LINGUAS`; do echo Checking $$LI.po; make po/$$LI.po-download; done