From 002cb81f748e29f97f7c4d326663a25e180d6711 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 de52ade1..d2e6bd6f 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -1366,6 +1366,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 @@ -1373,7 +1378,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. @@ -1384,7 +1389,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