From 7230e9def796c63a4033211dc5107742d689fc1e Mon Sep 17 00:00:00 2001 From: Stephen J Day Date: Mon, 22 Feb 2016 12:56:23 -0800 Subject: [PATCH] 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 --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 4604a39a..2ba01083 100644 --- a/Makefile +++ b/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 > $@