1
0
Fork 0
mirror of https://github.com/SamTherapy/dnscrypt.git synced 2024-11-19 04:24:11 +00:00

all: fix Makefile

This commit is contained in:
Ainar Garipov 2020-11-30 19:40:06 +03:00
parent ec8cdd3529
commit 4c4361a4f3

View file

@ -22,7 +22,7 @@ release: check-env-release
mkdir -p $(BUILDDIR)
cp LICENSE $(BUILDDIR)/
cp README.md $(BUILDDIR)/
CGO_ENABLED=0 GOOS=$(GOOS) GOARCH=$(GOARCH) go build -ldflags "-X main.VersionString=$(VERSION)" -o $(BUILDDIR)/$(NAME)$(ext)
CGO_ENABLED=0 GOOS=$(GOOS) GOARCH=$(GOARCH) go build -ldflags "-X main.VersionString=$(VERSION)" -o $(BUILDDIR)/$(NAME)$(ext) ./cmd/
cd $(BASE_BUILDDIR) ; $(archiveCmd)
test:
@ -40,4 +40,4 @@ check-env-release:
@ if [ "$(GOARCH)" = "" ]; then \
echo "Environment variable GOOS not set"; \
exit 1; \
fi
fi