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