Permalink
Browse files

Adding EPUB and MOBI support (requires calibres)

  • Loading branch information...
1 parent fae786f commit 92fe3d41d832ab471083338f55505789efef3f9d @chewbranca chewbranca committed Sep 1, 2010
View
6 Makefile
@@ -36,6 +36,12 @@ book.html: pages/head.html pages/tail.html $(HTML)
| sed -E 's/<h1>([^ ]+) - /<h1>/' \
> $@
+book.mobi:
+ ebook-convert book.html book.mobi --output-profile kindle
+
+book.epub:
+ ebook-convert book.html book.epub
+
view: book.pdf
open book.pdf
View
14 Readme.md
@@ -25,6 +25,20 @@ Required by `make book.html`:
$ gem install ronn
$ make book.html
+## EPUB
+
+Required by `make book.epub`:
+Requires (Calibre)[http://calibre-ebook.com/]
+
+ $ make book.epub
+
+## MOBI
+
+Required by `make book.mobi`:
+Requires (Calibre)[http://calibre-ebook.com/]
+
+ $ make book.mobi
+
## References
Contents of this eBook currently reference the following software versions:
View
BIN book.epub
Binary file not shown.
View
BIN book.mobi
Binary file not shown.
View
BIN book_as_of_6d4b37c3960f2739467ebee4f07467012756b9df.mobi
Binary file not shown.

0 comments on commit 92fe3d4

Please sign in to comment.