aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 7d9c3fa9c..c15ea6900 100644
--- a/Makefile
+++ b/Makefile
@@ -252,12 +252,14 @@ validate-docx-golden-tests2: ## validate docx golden tests using OOXMLValidator
sh ./tools/validate-docx2.sh test/docx/golden/
.PHONY: validate-docx-golden-tests2
-validate-epub: ## generate an epub and validate it with epubcheck
+validate-epub: ## generate an epub and validate it with epubcheck and ace
which epubcheck || exit 1
+ which ace || exit 1
tmp=$$(mktemp -d) && \
$(pandoc) test/epub/features.native -Mtitle="Features" --resource-path test/epub -o $$tmp/file.epub --number-sections --toc --quiet && \
echo $$tmp/file.epub && \
- epubcheck $$tmp/file.epub
+ epubcheck $$tmp/file.epub && \
+ ace $$tmp/file.epub
modules.csv: $(PANDOCSOURCEFILES)
@rg '^import.*Text\.Pandoc\.' --with-filename $^ \