diff --git a/Makefile b/Makefile index f6f0af6f44..23beaab07b 100644 --- a/Makefile +++ b/Makefile @@ -31,6 +31,8 @@ ALERTMANAGER_VERSION ?=v0.15.2 # $(1): Install path. (e.g github.com/golang/dep/cmd/dep) # $(2): Tag or revision for checkout. define fetch_go_bin_version + mkdir -p $(BIN_DIR) + @echo ">> fetching $(1)@$(2) revision/version" @if [ ! -d "$(TMP_GOPATH)/src/$(1)" ]; then \ GOPATH=$(TMP_GOPATH) go get -d -u $(1); \