diff options
Diffstat (limited to 'src/Makefile.am')
-rw-r--r-- | src/Makefile.am | 6 |
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 $< > $@ |