From d27e45cc74112c41a5b41aff4a7e61256ad31d28 Mon Sep 17 00:00:00 2001 From: Fabian Reinartz Date: Thu, 18 Jun 2015 12:21:53 +0200 Subject: [PATCH] make: add promtool to build and tarball targets. --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 7c33f0a94..94273ada5 100644 --- a/Makefile +++ b/Makefile @@ -28,6 +28,7 @@ binary: build build: tools $(GOPATH) $(GO) build -o prometheus $(BUILDFLAGS) github.com/prometheus/prometheus/cmd/prometheus + $(GO) build -o promtool $(BUILDFLAGS) github.com/prometheus/prometheus/cmd/promtool docker: build docker build -t prometheus:$(REV) . @@ -35,7 +36,7 @@ docker: build tarball: $(ARCHIVE) $(ARCHIVE): build - tar -czf $(ARCHIVE) prometheus tools/rule_checker/rule_checker consoles console_libraries + tar -czf $(ARCHIVE) prometheus promtool tools/rule_checker/rule_checker consoles console_libraries release: REMOTE ?= $(error "can't upload, REMOTE not set") release: REMOTE_DIR ?= $(error "can't upload, REMOTE_DIR not set")