From e4d5a07facf935e1513d14a3423b5f48ef9a7a96 Mon Sep 17 00:00:00 2001 From: Simon Michael Date: Tue, 28 Nov 2023 08:33:48 -1000 Subject: [PATCH] workaround for pandoc not being present in Cloudflare Pages platform V2 --- Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 672c440..aed4b9b 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,8 @@ -all: html +all: pandoc html + +# workaround for pandoc not being present in Cloudflare Pages platform V2 +pandoc: + pandoc --version || apt install pandoc # Generate html from all md files in src/, in out/ html: $(patsubst src/%,out/%,$(patsubst %.md,%.html,$(wildcard src/*.md src/quickref/*.md))) Makefile