]> pere.pagekite.me Git - text-madewithcc.git/commitdiff
Add build rules for Bengali (bn).
authorPetter Reinholdtsen <pere@hungry.com>
Sun, 11 Jul 2021 09:58:39 +0000 (11:58 +0200)
committerPetter Reinholdtsen <pere@hungry.com>
Sun, 11 Jul 2021 09:58:39 +0000 (11:58 +0200)
Makefile

index e4122cfb89df06ce2b7595aa8a864df4aebee904..a21ab6023000d813128dd8cecb93148f0ba7af7b 100644 (file)
--- 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 && \