summaryrefslogtreecommitdiff
path: root/vapi
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@redhat.com>2011-12-21 11:48:48 +0100
committerChristophe Fergeau <cfergeau@redhat.com>2011-12-22 09:58:39 +0100
commit66ff918f37fb71f9b464a77b5c6835b8253fd43b (patch)
treea55eb4868f9aa0a3256273fa30c9fd9277335c83 /vapi
parentd103002c17ab362f14f3487c3299115f7b0be720 (diff)
build: ship vala files & fix make distcheck
Disable usbredir, since it wants to install file in /. Disable vala for distcheck for 2 reasons: not needed after dist and binding build issue. Ship with spice-gtk-3.0 vala bindings https://bugs.freedesktop.org/show_bug.cgi?id=44000
Diffstat (limited to 'vapi')
-rw-r--r--vapi/Makefile.am10
1 files changed, 7 insertions, 3 deletions
diff --git a/vapi/Makefile.am b/vapi/Makefile.am
index 4b99645..c1ae6c0 100644
--- a/vapi/Makefile.am
+++ b/vapi/Makefile.am
@@ -1,14 +1,11 @@
NULL =
CLEANFILES =
-if HAVE_INTROSPECTION
-if WITH_VALA
BUILT_VAPI = \
spice-client-glib-2.0.vapi \
spice-client-gtk-$(SPICE_GTK_API_VERSION).deps \
spice-client-gtk-$(SPICE_GTK_API_VERSION).vapi \
$(NULL)
-CLEANFILES += $(BUILT_VAPI)
vapidir = $(datadir)/vala/vapi
vapi_DATA = \
@@ -16,6 +13,13 @@ vapi_DATA = \
$(BUILT_VAPI)
$(NULL)
+EXTRA_DIST = $(vapi_DATA)
+
+if HAVE_INTROSPECTION
+if WITH_VALA
+
+CLEANFILES += $(BUILT_VAPI)
+
spice-client-glib-2.0.vapi: $(top_builddir)/gtk/SpiceClientGLib-2.0.gir
$(AM_V_GEN)$(VAPIGEN) \
--library spice-client-glib-2.0 \