~ubuntu-branches/ubuntu/precise/gst-plugins-bad0.10/precise-proposed

« back to all changes in this revision

Viewing changes to common/po.mak

Tags: upstream-0.10.5.3
Import upstream version 0.10.5.3

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# rule to download .po
2
 
po/%.po-download:
3
 
        @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
4
 
                                                                                
5
 
# a rule to redownload po files
6
 
download-po:
7
 
        for LI in `cat po/LINGUAS`; do echo Checking $$LI.po; make po/$$LI.po-download; done
 
1
# rule to download the latest .po files
 
2
download-po: $(top_srcdir)/common/download-translations
 
3
        $(top_srcdir)/common/download-translations $(PACKAGE)
 
4