mirror of
https://github.com/frainfreeze/the-monospace-web-pandoc
synced 2025-12-30 02:59:50 -08:00
make publishable to NPM
This commit is contained in:
3
Makefile
3
Makefile
@@ -1,3 +1,4 @@
|
||||
VERSION=$(shell jq -r .version package.json)
|
||||
|
||||
all: index.html
|
||||
|
||||
@@ -5,6 +6,6 @@ clean:
|
||||
rm -f index.html
|
||||
|
||||
index.html: index.md template.html Makefile
|
||||
pandoc --toc -s --css reset.css --css index.css -i $< -o $@ --template=template.html
|
||||
pandoc --toc -s --css reset.css --css index.css -Vversion=v$(VERSION) -i $< -o $@ --template=template.html
|
||||
|
||||
.PHONY: all clean
|
||||
|
||||
Reference in New Issue
Block a user