Skip to content
Snippets Groups Projects
Commit 44d3bba2 authored by Greg Wilson's avatar Greg Wilson
Browse files

Merge pull request #94 from aaren/fix-makefile-readme-html

Don't generate README.html (and others)
parents a2508642 c877f385
Branches
Tags
No related merge requests found
# Files.
SRC_PAGES = $(wildcard *.md)
MARKDOWN = $(wildcard *.md)
EXCLUDES = README.md LAYOUT.md FAQ.md DESIGN.md
SRC_PAGES = $(filter-out $(EXCLUDES), $(MARKDOWN))
DST_PAGES = $(patsubst %.md,%.html,$(SRC_PAGES))
# Pandoc filters
FILTERS = $(wildcard tools/filters/*.py)
# Inclusions.
INCLUDES = \
-Vheader="$$(cat _includes/header.html)" \
......@@ -22,7 +27,7 @@ motivation.html : motivation.md _layouts/slides.html
-o $@ $<
# Pattern to build a generic page.
%.html : %.md _layouts/page.html
%.html : %.md _layouts/page.html $(FILTERS)
pandoc -s -t html \
--template=_layouts/page \
--filter=tools/filters/blockquote2div.py \
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment