forked from TrueCloudLab/distribution
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)"
|
||||
|
||||
.PHONY: clean all fmt vet lint build test binaries
|
||||
.DEFAULT: default
|
||||
all: AUTHORS clean fmt vet fmt lint build test binaries
|
||||
.DEFAULT: all
|
||||
all: fmt vet fmt lint build test binaries
|
||||
|
||||
AUTHORS: .mailmap .git/HEAD
|
||||
git log --format='%aN <%aE>' | sort -fu > $@
|
||||
|
|
Loading…
Reference in a new issue