Added mod=readonly flag. Removed config.yaml from install target.
This commit is contained in:
parent
7a9c673721
commit
bf79f77788
3
Makefile
3
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}
|
||||
|
Loading…
Reference in New Issue
Block a user