[Spice-commits] gtk/controller
Marc-André Lureau
elmarco at kemper.freedesktop.org
Thu Jan 17 18:57:16 PST 2013
gtk/controller/Makefile.am | 14 ++++++++------
1 file changed, 8 insertions(+), 6 deletions(-)
New commits:
commit 6d454e4100a01499c13d55057fdd9307437a5f87
Author: Andrew Hughes <gnu.andrew at redhat.com>
Date: Wed Jan 16 23:47:18 2013 +0100
build-sys: fix out-of-tree build with vala
diff --git a/gtk/controller/Makefile.am b/gtk/controller/Makefile.am
index f2abf93..00552e8 100644
--- a/gtk/controller/Makefile.am
+++ b/gtk/controller/Makefile.am
@@ -76,14 +76,16 @@ spice_controller_dump_SOURCES = dump.c
spice_controller_dump_LDADD = libspice-controller.la
controller.vala.stamp: $(libspice_controller_la_VALASOURCES) custom.vapi
- @if test -z "$(VALAC)"; then \
- echo "" ; \
- echo " *** Error: missing valac!" ; \
+ @if test -z "$(VALAC)"; then \
+ echo "" ; \
+ echo " *** Error: missing valac!" ; \
echo " *** You must run autogen.sh or configure --enable-vala" ; \
- echo "" ; \
- exit 1 ; \
+ echo "" ; \
+ exit 1 ; \
fi
- $(VALA_V)$(VALAC) $(VALAFLAGS) $(AM_VALAFLAGS) $(libspice_controller_la_VALASOURCES) -H spice-controller.h
+ $(VALA_V)$(VALAC) $(VALAFLAGS) $(AM_VALAFLAGS) \
+ $(addprefix $(srcdir)/,$(libspice_controller_la_VALASOURCES)) \
+ -H spice-controller.h
@touch $@
$(libspice_controller_la_BUILT_SOURCES): controller.vala.stamp
More information about the Spice-commits
mailing list