aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn MacFarlane <[email protected]>2024-02-22 23:12:15 -0600
committerJohn MacFarlane <[email protected]>2024-02-22 23:12:15 -0600
commit23337fe9dc3afada6b173bbaa90b855bd07abb26 (patch)
tree74bf0adae14ebd99da5238e16373d1da6e4281fa
parent0a5ececcb466f28bf6b003fde71bc774267ae25b (diff)
Makefile: improve epub-validation target.
Use `--epub-cover-image` to catch issues that only arise with that. See #9493.
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index ae7e4bb98..bc9e92beb 100644
--- a/Makefile
+++ b/Makefile
@@ -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 && \