From 8367e4f17c15fab804c6c6c25a0b8a0766cc73eb Mon Sep 17 00:00:00 2001 From: Travis Briggs Date: Sun, 12 Apr 2020 12:39:07 -0700 Subject: [PATCH] make all includes index and html files depend on template and theme --- wiki/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wiki/Makefile b/wiki/Makefile index 6629815..e4937a6 100644 --- a/wiki/Makefile +++ b/wiki/Makefile @@ -4,13 +4,13 @@ DST_HTML_FILES := $(SRC_MD_FILES:source/%.md=%.html) PANDOC != command -v pandoc 2> /dev/null PHP != command -v php 2> /dev/null -all: dep-pandoc $(DST_HTML_FILES) +all: dep-pandoc $(DST_HTML_FILES) index index: dep-php index.html %.html: %.php php $< > $@ -%.html: source/%.md +%.html: source/%.md wiki.tmpl custom.theme $(info building $@) @$(PANDOC) \ --template wiki.tmpl \