From 0a8c712aaa90deea19047f2329600c15b6fea220 Mon Sep 17 00:00:00 2001 From: ferreo Date: Mon, 4 Nov 2024 16:06:33 +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 dcb1faf..dcf3eb6 100644 --- a/Makefile-v3 +++ b/Makefile-v3 @@ -3,5 +3,5 @@ all: install: mkdir -p $(DESTDIR)/usr/bin/ - GOAMD=v3 go build -ldflags="-s -w" -o $(DESTDIR)/usr/bin/carapace -buildvcs=false + GOAMD=v3 sh -c 'sh -c "cd /carapace-bin/cmd/carapace && go generate ./... && go build -ldflags=\"-s -w\" . -o $(DESTDIR)/usr/bin/carapace -buildvcs=false"' chmod 755 $(DESTDIR)/usr/bin/carapace