Files
the-monospace-web-pandoc/Makefile
Oskar Wickström c0d05c9f4d v0.1.5
2025-01-25 14:56:24 +01:00

13 lines
321 B
Makefile

VERSION=$(shell jq -r .version package.json)
DATE=$(shell date +%F)
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) -Vdate=$(DATE) -i $< -o $@ --template=demo/template.html
.PHONY: all clean