summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile8
-rw-r--r--index.mdwn3
2 files changed, 10 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 7cff321..16492f3 100644
--- a/Makefile
+++ b/Makefile
@@ -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)
diff --git a/index.mdwn b/index.mdwn
index 5ac077d..abf1f01 100644
--- a/index.mdwn
+++ b/index.mdwn
@@ -1,3 +1,6 @@
+% Getting Things Done For Hackers
+% Lars Wirzenius
+
GTD For Hackers
===============