[folks] Don't re-build the vapi files unless we've been configured with Vala.
- From: Travis Reitter <treitter src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [folks] Don't re-build the vapi files unless we've been configured with Vala.
- Date: Wed, 1 Jun 2011 16:02:20 +0000 (UTC)
commit 1ab93eb1b5714781eefb5ee897f2b167c510054b
Author: Travis Reitter <travis reitter collabora co uk>
Date: Tue May 31 16:21:33 2011 -0700
Don't re-build the vapi files unless we've been configured with Vala.
backends/telepathy/lib/Makefile.am | 2 ++
tests/lib/telepathy/contactlist/Makefile.am | 2 ++
2 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/backends/telepathy/lib/Makefile.am b/backends/telepathy/lib/Makefile.am
index 13af8b6..ef3dc71 100644
--- a/backends/telepathy/lib/Makefile.am
+++ b/backends/telepathy/lib/Makefile.am
@@ -67,6 +67,7 @@ tp_lowlevel_gir_FILES = $(libtp_lowlevel_la_SOURCES) $(tp_lowlevel_headers)
tp_lowlevel_gir_NAMESPACE = Folks
INTROSPECTION_GIRS += tp-lowlevel.gir
+if HAVE_VALA
tp-lowlevel.vapi: tp-lowlevel.gir
$(MAKE) $(AM_MAKEFLAGS) tp-lowlevel.gir
$(AM_V_GEN)$(VAPIGEN) $(VAPIGENFLAGS) \
@@ -75,6 +76,7 @@ tp-lowlevel.vapi: tp-lowlevel.gir
--pkg telepathy-glib \
tp-lowlevel.gir
touch $@
+endif
##################################################################
# Support library
diff --git a/tests/lib/telepathy/contactlist/Makefile.am b/tests/lib/telepathy/contactlist/Makefile.am
index 900bd5a..11ac996 100644
--- a/tests/lib/telepathy/contactlist/Makefile.am
+++ b/tests/lib/telepathy/contactlist/Makefile.am
@@ -64,11 +64,13 @@ tp_test_contactlist_gir_FILES = $(libtp_test_contactlist_la_SOURCES)
tp_test_contactlist_gir_NAMESPACE = TpTest
INTROSPECTION_GIRS += tp-test-contactlist.gir
+if HAVE_VALA
tp-test-contactlist.vapi: tp-test-contactlist.gir
$(MAKE) $(AM_MAKEFLAGS) tp-test-contactlist.gir
$(AM_V_GEN)$(VAPIGEN) $(VAPIGENFLAGS) --library tp-test-contactlist \
tp-test-contactlist.gir
touch $@
+endif
dist_noinst_DATA = \
tp-test-contactlist.gir \
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]