diff --git a/Makefile b/Makefile index 0d8e990..1332446 100755 --- a/Makefile +++ b/Makefile @@ -8,7 +8,7 @@ PREFIX:=/usr/local VERSION=23.31.0 -FLAGS:=-modcacherw -trimpath +FLAGS:=-modcacherw -mod=readonly -trimpath LDFLAGS:= -ldflags "-s -w -X main.version=${VERSION}" -tags osusergo,netgo all: web/*.pug.go ${TARGET} @@ -27,7 +27,6 @@ run: install: install -Dm 0755 bin/${TARGET} ${DESTDIR}${PREFIX}/bin/${TARGET} install -Dm 0755 tools/radioctl ${DESTDIR}${PREFIX}/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 install -Dm 0644 configs/logrotate ${DESTDIR}/etc/logrotate.d/${TARGET}