diff options
| author | John MacFarlane <jgm@berkeley.edu> | 2024-02-16 13:42:19 -0800 |
|---|---|---|
| committer | John MacFarlane <jgm@berkeley.edu> | 2024-02-16 13:42:19 -0800 |
| commit | b506171578944ae274b9b39ee92474858425f570 (patch) | |
| tree | c5d26850e3e65291f956773f72e64fd983be9798 | |
| parent | 9f8344d54eb4e36cae131eea8a172e70bf7ef9a8 (diff) | |
Makefile: improve validate-epub.
| -rw-r--r-- | Makefile | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -256,12 +256,12 @@ validate-epub: ## generate an epub and validate it with epubcheck and ace which ace || exit 1 tmp=$$(mktemp -d) && \ for epubver in 2 3; do \ - file=$$tmp/ver$$epubver.epub ; \ - $(pandoc) test/epub/wasteland.native -Mtitle="The Wasteland" --resource-path test/epub -t epub$$epubver -o $$file --number-sections --toc --quiet && \ - echo $$file && \ - epubcheck $$file || exit 1 && \ - ace $$file -o ace-report-v$$epubver --force ; \ - done + file=$$tmp/ver$$epubver.epub ; \ + $(pandoc) test/epub/wasteland.epub -Mtitle="The Wasteland" --resource-path test/epub -t epub$$epubver -o $$file --number-sections --toc --quiet && \ + echo $$file && \ + epubcheck $$file || exit 1 ; \ + done && \ + ace $$tmp/ver3.epub -o ace-report-v2 --force modules.csv: $(PANDOCSOURCEFILES) @rg '^import.*Text\.Pandoc\.' --with-filename $^ \ |
