From 16c14db0875cf76e11c0b107a4568cd558ed7e3b Mon Sep 17 00:00:00 2001 From: Simon Michael Date: Tue, 28 Nov 2023 08:50:54 -1000 Subject: [PATCH] workaround for pandoc not being present in Cloudflare Pages platform V2 part 5 --- Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index f7a20d2..62798e9 100644 --- a/Makefile +++ b/Makefile @@ -1,11 +1,12 @@ all: pandoc html # XXX temporary workaround for pandoc not being present in Cloudflare Pages platform V2 +# pandoc --version || sudo apt install -y pandoc pandoc: -# pandoc --version || sudo apt install -y pandoc pandoc --version || \ wget https://github.com/jgm/pandoc/releases/download/3.1.9/pandoc-3.1.9-linux-amd64.tar.gz && \ - tar xzf pandoc-3.1.9-linux-amd64.tar.gz + tar xzf pandoc-3.1.9-linux-amd64.tar.gz && \ + rm pandoc-3.1.9-linux-amd.tar.gz #PANDOC=pandoc PANDOC=pandoc-3.1.9/bin/pandoc \