aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar jmpcyc <smtppop3@outlook.com> 2019-01-05 04:09:26 +0800
committerGravatar Miek Gieben <miek@miek.nl> 2019-01-04 20:09:26 +0000
commitc56603ea796082be77143a1022ce67155c7b69f6 (patch)
tree8bca13abcd7e9fd310f74d5cd2dbcc8b17a7300d
parent4f9fade38e6827305e11bbbd952a99ece4c2637f (diff)
downloadcoredns-c56603ea796082be77143a1022ce67155c7b69f6.tar.gz
coredns-c56603ea796082be77143a1022ce67155c7b69f6.tar.zst
coredns-c56603ea796082be77143a1022ce67155c7b69f6.zip
update zplugin.go path && add .PHONY for all target (#2433)
* update zplugin.go path && add .PHONY for all target * update zplugin.go path && add .PHONY for all target * update zplugin.go target
-rw-r--r--Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index beea75355..a32b4c126 100644
--- a/Makefile
+++ b/Makefile
@@ -9,6 +9,7 @@ PRESUBMIT:=core coremain plugin test request
MAKEPWD:=$(dir $(realpath $(firstword $(MAKEFILE_LIST))))
CGO_ENABLED:=0
+.PHONY: all
all: coredns
.PHONY: coredns
@@ -16,7 +17,7 @@ coredns: $(CHECKS)
CGO_ENABLED=$(CGO_ENABLED) $(SYSTEM) go build $(BUILDOPTS) -ldflags="-s -w -X github.com/coredns/coredns/coremain.GitCommit=$(GITCOMMIT)" -o $(BINARY)
.PHONY: check
-check: presubmit core/zplugin.go core/dnsserver/zdirectives.go godeps
+check: presubmit core/plugin/zplugin.go core/dnsserver/zdirectives.go godeps
.PHONY: godeps
godeps:
@@ -60,7 +61,7 @@ ifeq ($(TEST_TYPE),coverage)
done
endif
-core/zplugin.go core/dnsserver/zdirectives.go: plugin.cfg
+core/plugin/zplugin.go core/dnsserver/zdirectives.go: plugin.cfg
go generate coredns.go
.PHONY: gen