From c877f385dd37c07ce3a36059428d9132d34a0682 Mon Sep 17 00:00:00 2001 From: Aaron O'Leary <aaron.oleary@gmail.com> Date: Sun, 21 Dec 2014 21:51:35 +0000 Subject: [PATCH] make: add filter dependencies to html recipe --- Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index d1f4535..9ce9d37 100644 --- a/Makefile +++ b/Makefile @@ -4,6 +4,9 @@ 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)" \ @@ -24,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 \ -- GitLab