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:
parent
ec8cdd3529
commit
4c4361a4f3
1 changed files with 2 additions and 2 deletions
4
Makefile
4
Makefile
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue