diff options
author | Thomas Vander Stichele <thomas@apestaart.org> | 2004-05-03 13:42:16 +0000 |
---|---|---|
committer | Thomas Vander Stichele <thomas@apestaart.org> | 2004-05-03 13:42:16 +0000 |
commit | 95ba8839c03a7f8939a2ae4b0586b012e929fc84 (patch) | |
tree | 7499b8c5b60593f8fd3ff8593bcf5be2337fbf7a /po.mak | |
parent | 9e639817a831102ab82a3f95207cdc24852d6025 (diff) | |
download | gstreamer-common-95ba8839c03a7f8939a2ae4b0586b012e929fc84.tar.gz |
sillyfix
Original commit message from CVS:
sillyfix
Diffstat (limited to 'po.mak')
-rw-r--r-- | po.mak | 21 |
1 files changed, 5 insertions, 16 deletions
@@ -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 |