po update snippet

Original commit message from CVS:
po update snippet
parent 63d93f01
2004-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
* po.mak:
snippet for updating .po files
2004-03-18 Thomas Vander Stichele <thomas at apestaart dot org>
* Makefile.am:
......
# 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
# 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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment