Skip to content

Commit

Permalink
Update makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
felixge committed Mar 30, 2011
1 parent 545e338 commit 4dba40e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Makefile
@@ -1,5 +1,5 @@
GUIDES = $(notdir $(wildcard guide/*.md))
HTML_GUIDES = $(addprefix public/,$(GUIDES:.md=.html))
GUIDES = $(notdir $(wildcard guide/*.pdc))
HTML_GUIDES = $(addprefix public/,$(GUIDES:.pdc=.html))
PANDOC_DEFAULT_OPTIONS = \
-5 \
-c css/screen.css \
Expand All @@ -11,13 +11,13 @@ PANDOC_GUIDE_OPTIONS = \

html: $(HTML_GUIDES)

public/index.html : guide/index.md
public/index.html : guide/index.pdc
pandoc \
$(PANDOC_DEFAULT_OPTIONS) \
$< \
-o $@

public/%.html : guide/%.md
public/%.html : guide/%.pdc
pandoc \
$(PANDOC_DEFAULT_OPTIONS) \
$(PANDOC_GUIDE_OPTIONS) \
Expand Down

0 comments on commit 4dba40e

Please sign in to comment.