summaryrefslogtreecommitdiff
path: root/src/Makefile.am
diff options
context:
space:
mode:
authorBenjamin Franzke <benjaminfranzke@googlemail.com>2011-05-28 11:39:43 +0200
committerBenjamin Franzke <benjaminfranzke@googlemail.com>2011-05-28 11:39:43 +0200
commitd86afb1321f618494434cd328ca452c4a464d510 (patch)
tree22d863afc36daf7d849359d21db00c98db888d85 /src/Makefile.am
parentca9894ec6e9127f52d440034c5c092fb5a35345e (diff)
downloadcmumble-d86afb1321f618494434cd328ca452c4a464d510.tar.gz
cmumble-d86afb1321f618494434cd328ca452c4a464d510.tar.bz2
cmumble-d86afb1321f618494434cd328ca452c4a464d510.zip
Autogenerate message macro list, not directly info struct
Diffstat (limited to 'src/Makefile.am')
-rw-r--r--src/Makefile.am4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index b07626b..fdb5c84 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -1,6 +1,6 @@
bin_PROGRAMS = cmumble
-noinst_HEADERS = messages.h mumble.pb-c.h varint.h
+noinst_HEADERS = cmumble.h messages.h mumble.pb-c.h varint.h
cmumble_SOURCES = cmumble.c mumble.pb-c.c varint.c
cmumble_LDADD = $(PROTOBUF_LIBS) $(GLIB_LIBS) $(GIO_LIBS) $(GSTREAMER_LIBS) $(CELT_LIBS)
@@ -9,7 +9,7 @@ AM_CFLAGS = $(GCC_FLAGS)
$(cmumble_SOURCES): messages.h mumble.pb-c.h
-messages.h: messages.txt
+messages.h: messages.txt gen_message.sh
./gen_message.sh < $< > $@
mumble.pb-c.c mumble.pb-c.h: mumble.proto