From 5dffe3a06f5eabe4c0f74cb1950e3a86f7cf4b2f Mon Sep 17 00:00:00 2001 From: Benjamin Franzke Date: Mon, 12 Sep 2011 23:48:32 +0200 Subject: Ship mumble.pb-c.[ch] is releases --- src/Makefile.am | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/Makefile.am b/src/Makefile.am index fb88fc6..fa58b05 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -14,8 +14,12 @@ AM_CPPFLAGS = $(PROTOBUF_CFLAGS) $(GLIB_CFLAGS) $(GIO_CFLAGS) \ AM_CFLAGS = $(GCC_FLAGS) BUILT_SOURCES = $(nodist_cmumble_SOURCES) $(nodist_noinst_HEADERS) -CLEANFILES = $(BUILT_SOURCES) +MAINTAINERCLEANFILES = mumble.pb-c.c mumble.pb-c.h +CLEANFILES = messages.h EXTRA_DIST = mumble.proto messages.txt gen_messages.sed +# Ship files generated by protoc-c in releases, +# so that protoc-c (which pulls in the c++ protobuf) is not needed. +EXTRA_DIST += mumble.pb-c.c mumble.pb-c.h messages.h: $(srcdir)/messages.txt $(srcdir)/gen_messages.sed $(AM_V_GEN) LC_ALL=C $(SED) -f $(srcdir)/gen_messages.sed $< > $@ -- cgit