Merge pull request #1588 from aaronlehmann/golint-godep-location

Makefile: don't look for golint and godep in specific places
This commit is contained in:
Olivier Gambier 2016-03-31 15:21:40 -07:00
commit ff6f38ccb6

View file

@ -31,11 +31,8 @@ GO15VENDOREXPERIMENT := 1
PKGS := $(shell go list -tags "${DOCKER_BUILDTAGS}" ./... | grep -v ^github.com/docker/distribution/vendor/)
# Resolving binary dependencies for specific targets
GOLINT_BIN := $(GOPATH)/bin/golint
GOLINT := $(shell [ -x $(GOLINT_BIN) ] && echo $(GOLINT_BIN) || echo '')
GODEP_BIN := $(GOPATH)/bin/godep
GODEP := $(shell [ -x $(GODEP_BIN) ] && echo $(GODEP_BIN) || echo '')
GOLINT := $(shell which golint || echo '')
GODEP := $(shell which godep || echo '')
${PREFIX}/bin/registry: $(wildcard **/*.go)
@echo "+ $@"