msgmerge $$LANG po/mwcc.pot -U ; \
done
+$(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 20
%.xml: %.md
- pandoc -o $@ $(PANDOCOPTS) MadewithCreativeCommonsmostup-to-dateversion.md
+ pandoc -s -o $@ $(PANDOCOPTS) $^
-pdf: MadewithCreativeCommonsmostup-to-dateversion.xml
- dblatex -b xetex MadewithCreativeCommonsmostup-to-dateversion.xml
+pdf: $(SOURCE).pdf
+%.pdf: %.xml
+ dblatex -b xetex $^
XMLLINTOPTS = --nonet --noout --xinclude --postvalid
-lint: MadewithCreativeCommonsmostup-to-dateversion.xml
+lint: $(SOURCE).xml
xmllint $(XMLLINTOPTS) $^
.SUFFIXES: .xml .md