summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBenjamin Franzke <benjaminfranzke@googlemail.com>2011-07-11 15:34:53 +0200
committerBenjamin Franzke <benjaminfranzke@googlemail.com>2011-07-11 15:35:10 +0200
commita201fe3c852f0bced78ee422dc6fe680630ee0a1 (patch)
treeeef7ccc2a244a16e1e5538c2449d6e6e0a38c336 /src
parentfd4446c3a6a1c7baf05839cb9cfe9d6349a14a08 (diff)
downloadcmumble-a201fe3c852f0bced78ee422dc6fe680630ee0a1.tar.gz
cmumble-a201fe3c852f0bced78ee422dc6fe680630ee0a1.tar.bz2
cmumble-a201fe3c852f0bced78ee422dc6fe680630ee0a1.zip
Fix out-of source build of messages.h
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.am4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index 1139616..da12479 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -15,8 +15,8 @@ BUILT_SOURCES = $(nodist_cmumble_SOURCES) $(nodist_noinst_HEADERS)
CLEANFILES = $(BUILT_SOURCES)
EXTRA_DIST = mumble.proto messages.txt gen_messages.sed
-messages.h: messages.txt gen_messages.sed
- $(AM_V_GEN) $(SED) -f gen_messages.sed $< > $@
+messages.h: $(top_srcdir)/src/messages.txt $(top_srcdir)/src/gen_messages.sed
+ $(AM_V_GEN) $(SED) -f $(top_srcdir)/src/gen_messages.sed $< > $@
mumble.pb-c.c mumble.pb-c.h: mumble.proto
$(AM_V_GEN) $(PROTOBUF_EXECUTABLE) --c_out=. $<