X-Git-Url: https://pere.pagekite.me/gitweb/text-madewithcc.git/blobdiff_plain/e5371e98c35b7e3e98a2c61a500bd3039a9315b7..adb2d64d3273efa5f44c492252bec94df99eaf8e:/Makefile diff --git a/Makefile b/Makefile index 87758db..ebedadf 100644 --- a/Makefile +++ b/Makefile @@ -107,6 +107,10 @@ epub: $(SOURCE).epub %.epub: %.xml dbtoepub $^ +# Useful for spell checking the text +%.txt: %.xml + xmlto txt $< + XMLLINTOPTS = --nonet --noout --xinclude --postvalid lint: $(SOURCE).xml xmllint $(XMLLINTOPTS) $^