diff options
| -rw-r--r-- | Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -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 $^ \ |
