diff options
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -242,6 +242,13 @@ validate-docx-golden-tests: ## validate docx golden tests against schema cd docx-validator && for f in ../test/docx/golden/*.docx; do ./validate $$f || exit 1 ; done .PHONY: validate-docx-golden-tests +validate-epub: ## generate an epub and validate it with epubcheck + which epubcheck || 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 + modules.csv: $(PANDOCSOURCEFILES) @rg '^import.*Text\.Pandoc\.' --with-filename $^ \ | rg -v 'Text\.Pandoc\.(Definition|Builder|Walk|Generic)' \ |
