1
0
mirror of https://github.com/prometheus-community/postgres_exporter.git synced 2025-08-08 04:42:07 +03:00

Suppress build messages from tools/Makefile

This commit is contained in:
Will Rouesnel
2017-06-07 00:04:19 +10:00
parent 8a1a12fd05
commit 3f0fb9d3a4

View File

@@ -25,15 +25,15 @@ GO := GOPATH=$(shell pwd) go
DEFAULT: all
tools.deps: $(GO_SRC)
# Generate build patterns for static tools
for pkg in $(TOOL_SRCS); do \
@# Generate build patterns for static tools
@for pkg in $(TOOL_SRCS); do \
echo -e "bin/$$(basename $$pkg): $$GO_SRC\n\t\$$(GO) install -v $$pkg" ; \
done > tools.deps
metatools.deps: tools.deps bin/gometalinter $(GO_SRC)
# Generate build patterns for metalinters tools
echo -e "METATOOL_SRCS+=$(shell $(get_metalinters))" > metatools.deps
for pkg in $(shell $(get_metalinters)) ; do \
@echo -e "METATOOL_SRCS+=$(shell $(get_metalinters))" > metatools.deps
@for pkg in $(shell $(get_metalinters)) ; do \
echo -e "bin/$$(basename $$pkg): $$GO_SRC\n\t\$$(GO) install -v $$pkg" ; \
done >> metatools.deps