Permalink
Browse files

Simple initial makefile

  • Loading branch information...
1 parent 6cd8c76 commit 58d5a89cab2806572bba8e85fffa7b857566991c @felixge committed Mar 29, 2011
Showing with 12 additions and 0 deletions.
  1. +12 −0 Makefile
View
@@ -0,0 +1,12 @@
+GUIDES = $(notdir $(wildcard guides/*.md))
+HTML_GUIDES = $(addprefix build/html/,$(GUIDES:.md=.html))
+
+html: $(HTML_GUIDES)
+
+build/html/%.html : guides/%.md
+ @mkdir -p build/html
+ pandoc -s --toc $< -o $@
+
+clean:
+ rm -rf build
+

0 comments on commit 58d5a89

Please sign in to comment.