Update Makefile-v3

This commit is contained in:
ferreo 2024-11-04 17:37:43 +01:00
parent 45d47b5ac7
commit 2e6ba7ecd3

View File

@ -3,5 +3,5 @@ all:
install: install:
mkdir -p $(DESTDIR)/usr/bin/ 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 chmod 755 $(DESTDIR)/usr/bin/carapace