Removed unused run and clean targets from a Makefile.
This commit is contained in:
parent
025bc6509c
commit
fb891c5603
8
Makefile
8
Makefile
@ -8,14 +8,11 @@ LDFLAGS=-ldflags "-s -w -X main.version=22.35.1" -tags osusergo,netgo
|
||||
|
||||
all: ${TARGET}
|
||||
|
||||
.PHONY: ${TARGET} run install uninstall clean
|
||||
.PHONY: ${TARGET} install uninstall
|
||||
|
||||
${TARGET}:
|
||||
go build -o bin/$@ ${LDFLAGS} cmd/$@/main.go
|
||||
|
||||
run:
|
||||
bin/${TARGET} -conf configs/config.yaml
|
||||
|
||||
install:
|
||||
install -Dm 0755 bin/${TARGET} ${DESTDIR}usr/bin/${TARGET}
|
||||
install -Dm 0644 configs/config.yaml ${DESTDIR}etc/dwelling/radio.yaml
|
||||
@ -32,6 +29,3 @@ uninstall:
|
||||
rm ${DESTDIR}etc/logrotate.d/${TARGET}
|
||||
|
||||
rm ${DESTDIR}${SYSDDIR}/${TARGET}.service
|
||||
|
||||
clean:
|
||||
go clean
|
||||
|
Loading…
Reference in New Issue
Block a user