From 90d683f42438adb36b6b09a906fcd6eea941e067 Mon Sep 17 00:00:00 2001 From: "Alexander \"Arav\" Andreev" Date: Sun, 19 Feb 2023 20:22:41 +0400 Subject: [PATCH] Added install-jade target to install a standalone jade compiler. And added installing of a dwelling-radioctl script. --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Makefile b/Makefile index 7932dd1..039f8bc 100755 --- a/Makefile +++ b/Makefile @@ -14,8 +14,12 @@ ${TARGET}: go generate web/web.go go build -o bin/$@ ${LDFLAGS} cmd/$@/main.go +install-jade: + go install github.com/Joker/jade/cmd/jade@latest + install: install -Dm 0755 bin/${TARGET} ${DESTDIR}usr/bin/${TARGET} + install -Dm 0755 tools/radioctl ${DESTDIR}usr/bin/${TARGET}ctl install -Dm 0644 configs/config.yaml ${DESTDIR}etc/dwelling/radio.yaml install -Dm 0644 configs/radio.liq ${DESTDIR}etc/dwelling/radio.liq install -Dm 0644 configs/radio.vars.liq ${DESTDIR}etc/dwelling/radio.vars.liq