From 32b5bb16150d4ce99b81ab9fab30d00c39cb1de0 Mon Sep 17 00:00:00 2001 From: Marco Vedovati Date: Wed, 31 Oct 2018 18:46:17 +0100 Subject: [PATCH] make: clean up .PHONY targets list Make the list of .PHONY targets consistent with the actual Makefile targets. Update The README with the correct make target for the CLI wrapper. Signed-off-by: Marco Vedovati --- Makefile | 3 +-- README.md | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 6cf72c6c4..1b50227b1 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -.PHONY: all binary build build-binary build-gccgo cross default docs gccgo test test-integration-cli test-unit validate help win tgz +.PHONY: all binary clean cross default docs gccgo help install.tools local-binary local-cross local-gccgo local-test-integration local-test-unit local-validate test test-integration test-unit validate PACKAGE := github.com/containers/storage GIT_BRANCH := $(shell git rev-parse --abbrev-ref HEAD 2>/dev/null) @@ -81,7 +81,6 @@ local-validate: ## validate DCO and gofmt on the host validate: ## validate DCO, gofmt, ./pkg/ isolation, golint,\ngo vet and vendor using VMs $(RUNINVM) make local-$@ -.PHONY: install.tools install.tools: go get -u $(BUILDFLAGS) github.com/cpuguy83/go-md2man go get -u $(BUILDFLAGS) github.com/vbatts/git-validation diff --git a/README.md b/README.md index f68cc55c3..fef46a689 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ layers, container images, and containers. A `containers-storage` CLI wrapper is also included for manual and scripting use. -To build the CLI wrapper, use 'make build-binary'. +To build the CLI wrapper, use 'make binary'. Operations which use VMs expect to launch them using 'vagrant', defaulting to using its 'libvirt' provider. The boxes used are also available for the