Commit 4985d698 authored by John Belamaric's avatar John Belamaric Committed by Miek Gieben

Fix the deps build (#583)

The deps target needs to be dependent on the generated middleware code,
or you end up having to do make twice.
parent 05dee778
......@@ -7,11 +7,11 @@ all: coredns
# Phony this to ensure we always build the binary.
# TODO: Add .go file dependencies.
.PHONY: coredns
coredns: check core/zmiddleware.go core/dnsserver/zdirectives.go
coredns: check
go build $(BUILD_VERBOSE) -ldflags="-s -w"
.PHONY: deps
deps:
deps: core/zmiddleware.go core/dnsserver/zdirectives.go
go get ${BUILD_VERBOSE}
go get -u github.com/golang/lint/golint
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment