From 621f1028ca8d55c556bf2fd3b57604baf2c4cfbc Mon Sep 17 00:00:00 2001 From: Ben Harris Date: Mon, 23 Sep 2019 12:25:21 -0400 Subject: [PATCH] add epub type --- .gitignore | 1 + Makefile | 17 +++++++++++++++-- dist/index.php | 1 + 3 files changed, 17 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index f30ec77..c3c1d78 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ dist/*.pdf dist/*.html +dist/*.epub diff --git a/Makefile b/Makefile index b4c1630..219cc0a 100644 --- a/Makefile +++ b/Makefile @@ -1,10 +1,11 @@ ISSUES != find issues -type d DEST_PDF_FILES := $(ISSUES:issues/%=dist/issue-%.pdf) DEST_HTML_FILES := $(ISSUES:issues/%=dist/issue-%.html) +DEST_EPUB_FILES := $(ISSUES:issues/%=dist/issue-%.epub) PANDOC != command -v pandoc 2> /dev/null -all: $(DEST_PDF_FILES) $(DEST_HTML_FILES) +all: $(DEST_PDF_FILES) $(DEST_HTML_FILES) $(DEST_EPUB_FILES) dist/issue-%.pdf: issues/% $(PANDOC) \ @@ -34,8 +35,20 @@ dist/issue-%.html: issues/% --output $@ \ $ html version pdf version + epub version