From: Ruben Kerkhof Date: Sun, 9 Aug 2015 13:52:33 +0000 (+0200) Subject: write_riemann: only compile .proto files when enabled X-Git-Tag: collectd-5.5.1~40^2~15 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=f9eeaf81f7c87f081fd14d4369e0fc9ae6c6726b;p=collectd.git write_riemann: only compile .proto files when enabled If the write_riemann plugin is not enabled there's no need to compile the protobuf files. --- diff --git a/src/Makefile.am b/src/Makefile.am index e82fe839..693228c8 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -1510,7 +1510,7 @@ endif # Protocol buffer for the "write_riemann" plugin. EXTRA_DIST += riemann.proto -if HAVE_PROTOC_C +if BUILD_PLUGIN_WRITE_RIEMANN CLEANFILES += riemann.pb-c.c riemann.pb-c.h BUILT_SOURCES += riemann.pb-c.c riemann.pb-c.h