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