From 4f7491250f5613b8a2d4742785bbbf6e68ad7829 Mon Sep 17 00:00:00 2001 From: Petter Reinholdtsen Date: Tue, 6 Mar 2018 09:11:26 +0000 Subject: [PATCH] Add make rule to build text version. --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) 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) $^ -- 2.47.2