Makefile: remove AUTHORS from default target
While it is generally good practice to look before jumping, many developers enjoy running `make` without reading the Makefile and indiscriminately use `git add -A`. This behavior, coupled with generating AUTHORS in the default target result in garbage in various PRs and extra round trips to remove said garbage. Signed-off-by: Stephen J Day <stephen.day@docker.com>
This commit is contained in:
parent
ce05116517
commit
7230e9def7
1 changed files with 2 additions and 2 deletions
4
Makefile
4
Makefile
|
@ -14,8 +14,8 @@ endif
|
||||||
GO_LDFLAGS=-ldflags "-X `go list ./version`.Version=$(VERSION)"
|
GO_LDFLAGS=-ldflags "-X `go list ./version`.Version=$(VERSION)"
|
||||||
|
|
||||||
.PHONY: clean all fmt vet lint build test binaries
|
.PHONY: clean all fmt vet lint build test binaries
|
||||||
.DEFAULT: default
|
.DEFAULT: all
|
||||||
all: AUTHORS clean fmt vet fmt lint build test binaries
|
all: fmt vet fmt lint build test binaries
|
||||||
|
|
||||||
AUTHORS: .mailmap .git/HEAD
|
AUTHORS: .mailmap .git/HEAD
|
||||||
git log --format='%aN <%aE>' | sort -fu > $@
|
git log --format='%aN <%aE>' | sort -fu > $@
|
||||||
|
|
Loading…
Reference in a new issue