--- a/Makefile +++ b/Makefile @@ -5,7 +5,2 @@ -GOBIN := $(shell go env GOBIN) -ifeq ($(GOBIN),) -GOBIN := $(shell go env GOPATH)/bin -endif - # when cross compiling _for_ a Darwin or windows host, then we must use openpgp @@ -17,3 +12,2 @@ -PACKAGES := $(shell GO111MODULE=on go list $(BUILDFLAGS) ./...) SOURCE_DIRS = $(shell echo $(PACKAGES) | awk 'BEGIN{FS="/"; RS=" "}{print $$4}' | uniq)