From: Petter Reinholdtsen Date: Sun, 11 Jul 2021 09:58:39 +0000 (+0200) Subject: Add build rules for Bengali (bn). X-Git-Url: https://pere.pagekite.me/gitweb/text-madewithcc.git/commitdiff_plain/75ef1bcc653abf56602f0d986186c255b3cc5f5a?ds=inline Add build rules for Bengali (bn). --- diff --git a/Makefile b/Makefile index e4122cf..a21ab60 100644 --- a/Makefile +++ b/Makefile @@ -81,6 +81,12 @@ $(SOURCE).az.xml: $(SOURCE).xml po/az/mwcc.po ruby fixup-docbook-translated.rb az $$TEMP $@ && \ rm -f $$TEMP +$(SOURCE).bn.xml: $(SOURCE).xml po/bn/mwcc.po + TEMP=`tempfile -p mwcc` && \ + po4a-translate -f docbook -m $(SOURCE).xml -p po/bn/mwcc.po -l $$TEMP -l $$TEMP -L utf-8 -M utf-8 $(PO4AOPTS) -k 0 && \ + ruby fixup-docbook-translated.rb bn $$TEMP $@ && \ + rm -f $$TEMP + $(SOURCE).de.xml: $(SOURCE).xml po/de/mwcc.po TEMP=`tempfile -p mwcc` && \ po4a-translate -f docbook -m $(SOURCE).xml -p po/de/mwcc.po -l $$TEMP -l $$TEMP -L utf-8 -M utf-8 $(PO4AOPTS) -k 0 && \