From 35100f89a79d48bbdffccfb178fae7a3ad0d9b1c Mon Sep 17 00:00:00 2001 From: Michael Hohn Date: Tue, 13 Aug 2024 00:00:56 -0700 Subject: [PATCH] Add html generation/view targets --- Makefile | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/Makefile b/Makefile index 9309ae6..6d93279 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,15 @@ all: server agent +.phony: view + +view: README.html + open $< + +html: README.html + +%.html: %.md + pandoc --toc=true --standalone $< --out $@ + server: cd cmd/server && GOOS=linux GOARCH=arm64 go build