diff options
author | Benjamin Franzke <benjaminfranzke@googlemail.com> | 2011-07-11 13:24:47 +0200 |
---|---|---|
committer | Benjamin Franzke <benjaminfranzke@googlemail.com> | 2011-07-11 13:29:35 +0200 |
commit | d4301bdbc057d0fdeb4bceaea693f59490197a74 (patch) | |
tree | 46aa0b3414a77ac477b85370d48af6b9fe4ac41c /src/Makefile.am | |
parent | 8aa06f085b1ea12e3e4503364545c06fa037a624 (diff) | |
download | cmumble-d4301bdbc057d0fdeb4bceaea693f59490197a74.tar.gz cmumble-d4301bdbc057d0fdeb4bceaea693f59490197a74.tar.bz2 cmumble-d4301bdbc057d0fdeb4bceaea693f59490197a74.zip |
Use a sed script for generating messages.h
Drop the prior used shell script.
Diffstat (limited to 'src/Makefile.am')
-rw-r--r-- | src/Makefile.am | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Makefile.am b/src/Makefile.am index be35cd2..c9b4b50 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -10,8 +10,8 @@ AM_CFLAGS = $(GCC_FLAGS) $(cmumble_SOURCES): messages.h mumble.pb-c.h -messages.h: messages.txt gen_message.sh - $(AM_V_GEN) ./gen_message.sh < $< > $@ +messages.h: messages.txt gen_messages.sed + $(AM_V_GEN) $(SED) -f gen_messages.sed $< > $@ mumble.pb-c.c mumble.pb-c.h: mumble.proto $(AM_V_GEN) $(PROTOBUF_EXECUTABLE) --c_out=. $< |