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
|
# workaround for pandoc not being present in Cloudflare Pages platform V2
|
||||||
pandoc:
|
pandoc:
|
||||||
pandoc --version || apt install pandoc
|
pandoc --version || sudo apt install -y pandoc
|
||||||
|
|
||||||
# Generate html from all md files in src/, in out/
|
# Generate html from all md files in src/, in out/
|
||||||
html: $(patsubst src/%,out/%,$(patsubst %.md,%.html,$(wildcard src/*.md src/quickref/*.md))) Makefile
|
html: $(patsubst src/%,out/%,$(patsubst %.md,%.html,$(wildcard src/*.md src/quickref/*.md))) Makefile
|
||||||
|
|||||||
Reference in New Issue
Block a user