Browse files

Started html layout

  • Loading branch information...
1 parent 567ed8d commit e3c07a8fe910d59099d45721b725c7c3cf917e6a @tj tj committed Aug 31, 2010
Showing with 5 additions and 2 deletions.
  1. +4 −2 Makefile
  2. +1 −0 Readme.md
View
6 Makefile
@@ -23,11 +23,13 @@ MD = pages/index.md \
HTML = $(MD:.md=.html)
+all: book.html book.pdf
+
book.pdf: $(HTML)
htmldoc $(HTML) $(PDF_FLAGS) --outfile $@
-book.html: $(HTML)
- cat $(HTML) > book.html
+book.html: pages/head.html pages/tail.html $(HTML)
+ cat pages/head.html $(HTML) pages/tail.html > book.html
%.html: %.md
ronn --pipe --fragment $< \
View
1 Readme.md
@@ -15,6 +15,7 @@ Required by `make book.html`:
Output formats:
+ $ make
$ make book.pdf
$ make book.html

0 comments on commit e3c07a8

Please sign in to comment.