Browse code

keep the same between rules and PHONY

Signed-off-by: yuexiao-wang <wang.yuexiao@zte.com.cn>

yuexiao-wang authored on 2016/08/17 17:25:14
Showing 2 changed files
... ...
@@ -1,4 +1,4 @@
1
-.PHONY: all binary build build-gccgo cross default docs docs-build docs-shell shell gccgo test test-docker-py test-integration-cli test-unit validate help
1
+.PHONY: all binary build build-gccgo cross deb docs gccgo help init-go-pkg-cache install manpages rpm run shell test test-docker-py test-integration-cli tgz test-unit validate win
2 2
 
3 3
 # set the graph driver as the current graphdriver if not set
4 4
 DOCKER_GRAPHDRIVER := $(if $(DOCKER_GRAPHDRIVER),$(DOCKER_GRAPHDRIVER),$(shell docker info 2>&1 | grep "Storage Driver" | sed 's/.*: //'))
... ...
@@ -131,7 +131,7 @@ test-integration-cli: build ## run the integration tests
131 131
 test-unit: build ## run the unit tests
132 132
 	$(DOCKER_RUN_DOCKER) hack/make.sh test-unit
133 133
 
134
-validate: build ## validate DCO, Seccomp profile generation, gofmt,\n./pkg/ isolation, golint, tests, tomls, go vet and vendor 
134
+validate: build ## validate DCO, Seccomp profile generation, gofmt,\n./pkg/ isolation, golint, tests, tomls, go vet and vendor
135 135
 	$(DOCKER_RUN_DOCKER) hack/make.sh validate-dco validate-default-seccomp validate-gofmt validate-pkg validate-lint validate-test validate-toml validate-vet validate-vendor
136 136
 
137 137
 manpages: ## Generate man pages from go source and markdown
... ...
@@ -1,4 +1,4 @@
1
-.PHONY: default docs docs-build docs-shell test
1
+.PHONY: default docs docs-build docs-draft docs-shell test
2 2
 
3 3
 # to allow `make DOCSDIR=docs docs-shell` (to create a bind mount in docs)
4 4
 DOCS_MOUNT := $(if $(DOCSDIR),-v $(CURDIR)/$(DOCSDIR):/$(DOCSDIR))