workaround for pandoc not being present in Cloudflare Pages platform V2 part 5
This commit is contained in:
5
Makefile
5
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 \
|
||||
|
||||
Reference in New Issue
Block a user