Files
the-monospace-web-pandoc/Makefile
2025-01-25 14:51:52 +01:00

12 lines
283 B
Makefile

VERSION=$(shell jq -r .version package.json)
all: index.html
clean:
rm -f index.html
index.html: demo/index.md demo/template.html Makefile
pandoc --toc -s --css src/reset.css --css src/index.css -Vversion=v$(VERSION) -i $< -o $@ --template=demo/template.html
.PHONY: all clean