diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -10,7 +10,13 @@ chapters = \ all: book.pdf book.pdf: book.css $(chapters) - ./markdown-to-pdf $(chapters) > book.pdf + markdown2pdf --toc -o book.pdf $(chapters) + +book.epub: $(chapters) + pandoc -t epub -o book.epub $(chapters) + +book.mobi: book.epub + ebook-convert book.epub book.mobi count: wc -w $(chapters) |