diff --git a/src/Makefile.am b/src/Makefile.am
index 59915225935406dd6ec051819bf6c86b9071cb26..10fa165a80eba5fcde51514f66a673f4dcd34b88 100644 (file)
--- a/src/Makefile.am
+++ b/src/Makefile.am
echo "$@ has some POD errors!"; false; \
fi
-if HAVE_PROTOC_C
# Protocol buffer for the "pinba" plugin.
+EXTRA_DIST += pinba.proto
+if HAVE_PROTOC_C
CLEANFILES += pinba.pb-c.c pinba.pb-c.h
BUILT_SOURCES += pinba.pb-c.c pinba.pb-c.h
protoc-c -I$(srcdir) --c_out . $(srcdir)/pinba.proto
endif
-if HAVE_PROTOC_C
# Protocol buffer for the "write_riemann" plugin.
+EXTRA_DIST += riemann.proto
+if HAVE_PROTOC_C
CLEANFILES += riemann.pb-c.c riemann.pb-c.h
BUILT_SOURCES += riemann.pb-c.c riemann.pb-c.h