From f72c6f2ab6a1f9052a73c8a432632c168ac1d29a Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Fri, 27 Dec 2019 13:55:00 +0200 Subject: Add: Makefile to build HTML pages --- Makefile | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 Makefile diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..8d74e4a --- /dev/null +++ b/Makefile @@ -0,0 +1,10 @@ +sources = $(wildcard *.md) +htmls = $(sources:.md=.html) + +.SUFFIXES: .md .html + +.md.html: + pandoc --standalone --toc -o $@ $< + +all: $(htmls) + -- cgit v1.2.1