src/Makefile: Move proto-generated sources to nodist_*_SOURCES.
authorSebastian Harl <sh@tokkee.org>
Sat, 7 May 2016 11:26:22 +0000 (13:26 +0200)
committerSebastian Harl <sh@tokkee.org>
Mon, 30 May 2016 21:44:19 +0000 (23:44 +0200)
src/Makefile.am

index 309c5f8..b4c7d51 100644 (file)
@@ -433,8 +433,8 @@ endif
 
 if BUILD_PLUGIN_GRPC
 pkglib_LTLIBRARIES += grpc.la
-grpc_la_SOURCES = grpc.cc \
-               collectd.grpc.pb.cc collectd.pb.cc types.pb.cc
+grpc_la_SOURCES = grpc.cc
+nodist_grpc_la_SOURCES = collectd.grpc.pb.cc collectd.pb.cc types.pb.cc
 grpc_la_CPPFLAGS = $(AM_CPPFLAGS) -std=c++11
 grpc_la_CFLAGS = $(AM_CFLAGS)
 grpc_la_CXXFLAGS = $(AM_CXXFLAGS) -std=c++11