]> pere.pagekite.me Git - text-madewithcc.git/blobdiff - Makefile
Updated translation files.
[text-madewithcc.git] / Makefile
index 69d4b644f390fac14248605b40fcb9153b5f618f..ebedadfbb96d490c96db3d2b8bbd94c5d5df5218 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -102,10 +102,15 @@ DBLATEX_OPTS = -T simple -t pdf -b xetex -p extra/pdf.xsl
 epub: $(SOURCE).epub
        for LANG in $(LANGS); do \
            $(MAKE) $(SOURCE).$$LANG.epub ; \
+           flightcrew-cli $(SOURCE).$$LANG.epub || exit 1 ; \
        done
 %.epub: %.xml
        dbtoepub $^
 
+# Useful for spell checking the text
+%.txt: %.xml
+       xmlto txt $<
+
 XMLLINTOPTS = --nonet --noout  --xinclude --postvalid
 lint: $(SOURCE).xml
        xmllint $(XMLLINTOPTS) $^