]> pere.pagekite.me Git - text-madewithcc.git/blobdiff - Makefile
Add make rule to build text version.
[text-madewithcc.git] / Makefile
index 87758dbbd2cb305dd9916ab6f62709c963e0be49..ebedadfbb96d490c96db3d2b8bbd94c5d5df5218 100644 (file)
--- 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) $^