From b55a71a30c1954538cd6cd372cd6a4a6d2c4f3ec Mon Sep 17 00:00:00 2001 From: beorn7 Date: Mon, 6 Jul 2015 22:26:41 +0200 Subject: [PATCH] Fix the race condition targets in the Makefile. Remove race_condition_run as the original run target has been removed, too. Fix the race_condition_binary target. --- Makefile | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index ae57219e3..7e0ec754e 100644 --- a/Makefile +++ b/Makefile @@ -76,10 +76,8 @@ format: dependencies find . -iname '*.go' | egrep -v "^\./(\.build|Godeps)/" | xargs -n1 $(GOFMT) -w -s=true race_condition_binary: build - $(GO) build -race -o prometheus.race $(BUILDFLAGS) . - -race_condition_run: race_condition_binary - ./prometheus.race $(ARGUMENTS) + $(GO) build -race -o prometheus.race $(BUILDFLAGS) github.com/prometheus/prometheus/cmd/prometheus + $(GO) build -race -o promtool.race $(BUILDFLAGS) github.com/prometheus/prometheus/cmd/promtool search_index: godoc -index -write_index -index_files='search_index'