]> pere.pagekite.me Git - text-madewithcc.git/blobdiff - Makefile
Use flightcrew-cli to check generated epub files.
[text-madewithcc.git] / Makefile
index 69d4b644f390fac14248605b40fcb9153b5f618f..87758dbbd2cb305dd9916ab6f62709c963e0be49 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -102,6 +102,7 @@ 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 $^