diff options
author | Lars Wirzenius <liw@liw.fi> | 2012-03-30 22:09:30 +0100 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2012-03-30 22:09:30 +0100 |
commit | 791483a3306e745d7974d843ebbfb1bbf8a06f8d (patch) | |
tree | e8ec242e744abafec0527a8d0f8bf09156052029 /Makefile | |
parent | 2a3404c5939664f83c6ff14747b5ccf5030e4ac3 (diff) | |
download | gtdfh.liw.fi-791483a3306e745d7974d843ebbfb1bbf8a06f8d.tar.gz |
Produce ebook versions in addition to pdf
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) |