workaround for pandoc not being present in Cloudflare Pages platform V2 part 2
This commit is contained in:
2
Makefile
2
Makefile
@@ -2,7 +2,7 @@ all: pandoc html
|
||||
|
||||
# workaround for pandoc not being present in Cloudflare Pages platform V2
|
||||
pandoc:
|
||||
pandoc --version || apt install pandoc
|
||||
pandoc --version || sudo apt install -y 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
|
||||
|
||||
Reference in New Issue
Block a user