Permalink
Browse files

Misc makefile cleanup

  • Loading branch information...
1 parent 09d5c0f commit dcac3dcf54bbb67fea1098d5c7fed979d9145684 @tj tj committed Sep 2, 2010
Showing with 4 additions and 0 deletions.
  1. +4 −0 Makefile
  2. BIN book.epub
  3. BIN book.mobi
  4. BIN book.pdf
View
@@ -26,9 +26,11 @@ HTML = $(MD:.md=.html)
all: book.html book.pdf book.mobi book.epub
book.pdf: $(HTML)
+ @echo "\n... generating $@"
htmldoc $(HTML) $(PDF_FLAGS) --outfile $@
book.html: pages/head.html pages/tail.html $(HTML)
+ @echo "\n... generating $@"
cat pages/head.html $(HTML) pages/tail.html > book.html
%.html: %.md
@@ -37,9 +39,11 @@ book.html: pages/head.html pages/tail.html $(HTML)
> $@
book.mobi:
+ @echo "\n... generating $@"
ebook-convert book.html book.mobi --output-profile kindle
book.epub:
+ @echo "\n... generating $@"
ebook-convert book.html book.epub
view: book.pdf
View
BIN book.epub
Binary file not shown.
View
BIN book.mobi
Binary file not shown.
View
BIN book.pdf
Binary file not shown.

0 comments on commit dcac3dc

Please sign in to comment.