X-Git-Url: https://pere.pagekite.me/gitweb/text-madewithcc.git/blobdiff_plain/ebb751df1dc8f712c280f91944d32f57ab0fc69a..4eb774a1f053fed50bca1aa035afc6a870264ec8:/Makefile diff --git a/Makefile b/Makefile index 3345f00..8eeb2c9 100644 --- a/Makefile +++ b/Makefile @@ -61,10 +61,10 @@ po/mwcc.pot: $(SOURCE).md echo '# Authors: Paul Stacey and Sarah Hinchliff Pearson' >> $@ && \ tail --lines=+5 $$TEMP >> $@ && \ rm $$TEMP - set -e; for LANG in po/*/mwcc.po; do \ - echo -n $$LANG\ ; \ - msgmerge $$LANG po/mwcc.pot -U ; \ - done + +po/*/mwcc.po: po/mwcc.pot + msgmerge $@ po/mwcc.pot -U + touch $@ $(SOURCE).es.md: $(SOURCE).md po/es/mwcc.po po4a-translate -f text -m $(SOURCE).md -p po/es/mwcc.po -l $@ -l $@ -L utf8 -M utf8 -k 0