summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Franzke <benjaminfranzke@googlemail.com>2011-09-12 23:48:32 +0200
committerBenjamin Franzke <benjaminfranzke@googlemail.com>2011-09-12 23:48:32 +0200
commit5dffe3a06f5eabe4c0f74cb1950e3a86f7cf4b2f (patch)
tree278be09d3e83309edf1e9d221fa5ddc949b666cd
parent32da405cbd0ad3b9964c72d07d8fe921f815fb32 (diff)
downloadcmumble-5dffe3a06f5eabe4c0f74cb1950e3a86f7cf4b2f.tar.gz
cmumble-5dffe3a06f5eabe4c0f74cb1950e3a86f7cf4b2f.tar.bz2
cmumble-5dffe3a06f5eabe4c0f74cb1950e3a86f7cf4b2f.zip
Ship mumble.pb-c.[ch] is releases
-rw-r--r--src/Makefile.am6
1 files changed, 5 insertions, 1 deletions
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 $< > $@