diff --git a/Makefile-v3 b/Makefile-v3 index 2a86741..262210a 100644 --- a/Makefile-v3 +++ b/Makefile-v3 @@ -3,5 +3,5 @@ all: install: mkdir -p $(DESTDIR)/usr/bin/ - GOAMD=v3 sh -c 'sh -c "cd ./cmd/carapace && go generate ./... && go build -ldflags=\"-s -w\" . -o $(DESTDIR)/usr/bin/carapace -buildvcs=false"' + GOAMD=v3 go generate ./cmd/carapace/... && go build -ldflags=\"-s -w\" ./cmd/carapace -o $(DESTDIR)/usr/bin/carapace -buildvcs=false chmod 755 $(DESTDIR)/usr/bin/carapace