diff options
| author | John MacFarlane <[email protected]> | 2024-02-22 23:12:15 -0600 |
|---|---|---|
| committer | John MacFarlane <[email protected]> | 2024-02-22 23:12:15 -0600 |
| commit | 23337fe9dc3afada6b173bbaa90b855bd07abb26 (patch) | |
| tree | 74bf0adae14ebd99da5238e16373d1da6e4281fa | |
| parent | 0a5ececcb466f28bf6b003fde71bc774267ae25b (diff) | |
Makefile: improve epub-validation target.
Use `--epub-cover-image` to catch issues that only arise with that.
See #9493.
| -rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -257,7 +257,7 @@ validate-epub: ## generate an epub and validate it with epubcheck and ace tmp=$$(mktemp -d) && \ for epubver in 2 3; do \ 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 && \ + $(pandoc) test/epub/wasteland.epub --epub-cover=test/lalune.jpg -Mtitle="The Wasteland" --resource-path test/epub -t epub$$epubver -o $$file --number-sections --toc --quiet && \ echo $$file && \ epubcheck $$file || exit 1 ; \ done && \ |
