cleric-plus-thief/Makefile

15 lines
283 B
Makefile
Raw Normal View History

2022-09-03 23:26:07 +00:00
SRCS := $(shell find src -name '*.md')
HTML := $(SRCS:src/%.md=%.html)
vpath %.md src
vpath %.html www
html: $(HTML)
%.html: %.md
pandoc -t html \
--standalone \
--toc \
--include-before-body=templates/nav.html \
--include-in-header=templates/header.html \
-o www/$@ $<