From 2e6ba7ecd3b1ed960ec85cf46b92a3a734c70cac Mon Sep 17 00:00:00 2001 From: ferreo Date: Mon, 4 Nov 2024 17:37:43 +0100 Subject: [PATCH] Update Makefile-v3 --- Makefile-v3 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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