From: Petter Reinholdtsen Date: Tue, 6 Mar 2018 09:11:26 +0000 (+0000) Subject: Add make rule to build text version. X-Git-Tag: es-printed~373 X-Git-Url: https://pere.pagekite.me/gitweb/text-madewithcc.git/commitdiff_plain/4f7491250f5613b8a2d4742785bbbf6e68ad7829?ds=sidebyside Add make rule to build text version. --- 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) $^