Add html generation/view targets
This commit is contained in:
committed by
=Michael Hohn
parent
742b059a49
commit
35100f89a7
10
Makefile
10
Makefile
@@ -1,5 +1,15 @@
|
|||||||
all: server agent
|
all: server agent
|
||||||
|
|
||||||
|
.phony: view
|
||||||
|
|
||||||
|
view: README.html
|
||||||
|
open $<
|
||||||
|
|
||||||
|
html: README.html
|
||||||
|
|
||||||
|
%.html: %.md
|
||||||
|
pandoc --toc=true --standalone $< --out $@
|
||||||
|
|
||||||
server:
|
server:
|
||||||
cd cmd/server && GOOS=linux GOARCH=arm64 go build
|
cd cmd/server && GOOS=linux GOARCH=arm64 go build
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user