1
0

Added install-jade target to install a standalone jade compiler. And added installing of a dwelling-radioctl script.

This commit is contained in:
Alexander Andreev 2023-02-19 20:22:41 +04:00
parent 4c74b45c58
commit 90d683f424
Signed by: Arav
GPG Key ID: 0388CC8FAA51063F

View File

@ -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