From: Petter Reinholdtsen Date: Tue, 27 Oct 2020 21:26:12 +0000 (+0100) Subject: Validate epub after dbtoepub, not in loop. X-Git-Tag: nb-printed-2020-11-13~21 X-Git-Url: https://pere.pagekite.me/gitweb/text-madewithcc.git/commitdiff_plain/28b8814377729e5093ed1f2688a56bcd9eaa11f8?ds=sidebyside Validate epub after dbtoepub, not in loop. --- diff --git a/Makefile b/Makefile index 3a2492f..e68e50e 100644 --- a/Makefile +++ b/Makefile @@ -167,10 +167,10 @@ DBLATEX_OPTS = -T simple -t pdf -b xetex epub: $(SOURCE).epub for LANG in $(LANGS); do \ $(MAKE) $(SOURCE).$$LANG.epub ; \ - flightcrew-cli $(SOURCE).$$LANG.epub || exit 1 ; \ done %.epub: %.xml dbtoepub $^ + flightcrew-cli $@ || exit 1 html: $(SOURCE).html for LANG in $(LANGS); do \