diff options
| author | John MacFarlane <[email protected]> | 2024-01-26 10:48:48 -0800 |
|---|---|---|
| committer | John MacFarlane <[email protected]> | 2024-01-26 10:48:48 -0800 |
| commit | ebed209627ceb6670a43cb66aba21d1b653092a8 (patch) | |
| tree | dfbd660b04ed53a70bbd6a0faad7a2ccf9e73e3e /Makefile | |
| parent | e7b2b2bd8b36a9ff2a979144cc62e3f945337edb (diff) | |
Add ace check to validate-epub Makefile target.
Diffstat (limited to 'Makefile')
| -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 $^ \ |
