]> pere.pagekite.me Git - text-madewithcc.git/blobdiff - Makefile
Translated using Weblate (German)
[text-madewithcc.git] / Makefile
index a21ab6023000d813128dd8cecb93148f0ba7af7b..2b87ab6eb126a8b60f95541c0022d8cfb93a76d7 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -105,6 +105,12 @@ $(SOURCE).fr.xml: $(SOURCE).xml po/fr/mwcc.po
          ruby fixup-docbook-translated.rb fr $$TEMP $@ && \
          rm -f $$TEMP
 
+$(SOURCE).id.xml: $(SOURCE).xml po/id/mwcc.po
+       TEMP=`tempfile -p mwcc` && \
+         po4a-translate -f docbook -m $(SOURCE).xml -p po/id/mwcc.po -l $$TEMP -l $$TEMP -L utf-8 -M utf-8 $(PO4AOPTS) -k 0 && \
+         ruby fixup-docbook-translated.rb id $$TEMP $@ && \
+         rm -f $$TEMP
+
 $(SOURCE).es.xml: $(SOURCE).xml po/es/mwcc.po fixup-docbook-translated.rb
        TEMP=`tempfile -p mwcc` && \
          po4a-translate -f docbook -m $(SOURCE).xml -p po/es/mwcc.po -l $$TEMP -l $$TEMP -L utf-8 -M utf-8 $(PO4AOPTS) -k 0 && \
@@ -129,6 +135,12 @@ $(SOURCE).pl.xml: $(SOURCE).xml po/pl/mwcc.po
          ruby fixup-docbook-translated.rb pl $$TEMP $@ && \
          rm -f $$TEMP
 
+$(SOURCE).pt_BR.xml: $(SOURCE).xml po/pt_BR/mwcc.po
+       TEMP=`tempfile -p mwcc` && \
+         po4a-translate -f docbook -m $(SOURCE).xml -p po/pt_BR/mwcc.po -l $$TEMP -l $$TEMP -L utf-8 -M utf-8 $(PO4AOPTS) -k 0 && \
+         ruby fixup-docbook-translated.rb pt_BR $$TEMP $@ && \
+         rm -f $$TEMP
+
 $(SOURCE).sv.xml: $(SOURCE).xml po/sv/mwcc.po
        TEMP=`tempfile -p mwcc` && \
          po4a-translate -f docbook -m $(SOURCE).xml -p po/sv/mwcc.po -l $$TEMP -l $$TEMP -L utf-8 -M utf-8 $(PO4AOPTS) -k 0 && \
@@ -201,8 +213,12 @@ lint: $(SOURCE).xml
        xmllint $(XMLLINTOPTS) $^
 lint-es: $(SOURCE).es.xml
        xmllint $(XMLLINTOPTS) $^
+lint-id: $(SOURCE).id.xml
+       xmllint $(XMLLINTOPTS) $^
 lint-nb: $(SOURCE).nb.xml
        xmllint $(XMLLINTOPTS) $^
+lint-pt_BR: $(SOURCE).pt_BR.xml
+       xmllint $(XMLLINTOPTS) $^
 
 check-urls:
        retval=0; for u in $$(perl -n -e'/<ulink url="(.+)"\/>/ && print "$$1\n"' MadewithCreativeCommonsmostup-to-dateversion.xml | sort -u); do \