From db3ffa2d2556ae9c8e5079dc93a43f9f5a02e3b2 Mon Sep 17 00:00:00 2001 From: Ruben Kerkhof Date: Sun, 9 Aug 2015 17:23:11 +0200 Subject: [PATCH] protoc: slightly nicer output in silent mode make[1]: Entering directory '/home/ruben/src/collectd/src' PROTOC-C pinba.pb-c.c PROTOC-C riemann.pb-c.c --- src/Makefile.am | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/src/Makefile.am b/src/Makefile.am index f6c12ec0..3f435319 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -1498,6 +1498,11 @@ EXTRA_DIST += collectd.conf.pod \ echo "$@ has some POD errors!"; false; \ fi +AM_V_PROTOC_C = $(am__v_PROTOC_C_@AM_V@) +am__v_PROTOC_C_ = $(am__v_PROTOC_C_@AM_DEFAULT_V@) +am__v_PROTOC_C_0 = @echo " PROTOC-C " $@; +am__v_PROTOC_C_1 = + # Protocol buffer for the "pinba" plugin. EXTRA_DIST += pinba.proto if BUILD_PLUGIN_PINBA @@ -1505,7 +1510,7 @@ CLEANFILES += pinba.pb-c.c pinba.pb-c.h BUILT_SOURCES += pinba.pb-c.c pinba.pb-c.h pinba.pb-c.c pinba.pb-c.h: pinba.proto - $(AM_V_GEN)protoc-c -I$(srcdir) --c_out . $(srcdir)/pinba.proto + $(AM_V_PROTOC_C)protoc-c -I$(srcdir) --c_out . $(srcdir)/pinba.proto endif # Protocol buffer for the "write_riemann" plugin. @@ -1516,7 +1521,7 @@ CLEANFILES += riemann.pb-c.c riemann.pb-c.h BUILT_SOURCES += riemann.pb-c.c riemann.pb-c.h riemann.pb-c.c riemann.pb-c.h: riemann.proto - $(AM_V_GEN)protoc-c -I$(srcdir) --c_out . $(srcdir)/riemann.proto + $(AM_V_PROTOC_C)protoc-c -I$(srcdir) --c_out . $(srcdir)/riemann.proto endif install-exec-hook: -- 2.30.2