[folks] Don't force building the tp-test vapi file in dist.



commit db9ae9ca3a3648f7a1a1d9f504be6c74d931f9cd
Author: Travis Reitter <travis reitter collabora co uk>
Date:   Tue Nov 9 11:02:34 2010 -0800

    Don't force building the tp-test vapi file in dist.
    
    Helps bgo#633718.

 tests/lib/telepathy/contactlist/Makefile.am |   11 ++++++++---
 1 files changed, 8 insertions(+), 3 deletions(-)
---
diff --git a/tests/lib/telepathy/contactlist/Makefile.am b/tests/lib/telepathy/contactlist/Makefile.am
index 8c13221..994d843 100644
--- a/tests/lib/telepathy/contactlist/Makefile.am
+++ b/tests/lib/telepathy/contactlist/Makefile.am
@@ -67,9 +67,12 @@ tp-test-contactlist.vapi: tp-test-contactlist.gir
 	$(AM_V_GEN)$(VAPIGEN) $(VAPIGENFLAGS) --library tp-test-contactlist \
 		tp-test-contactlist.gir
 
-BUILT_SOURCES = \
-    tp-test-contactlist.vapi \
-    $(NULL)
+BUILT_SOURCES =
+if HAVE_VALA
+BUILT_SOURCES += \
+	tp-test-contactlist.vapi \
+	$(NULL)
+endif
 
 CLEANFILES = \
 	$(BUILT_SOURCES) \
@@ -82,6 +85,8 @@ CLEANFILES = \
 	$(NULL)
 
 EXTRA_DIST = \
+    tp-test-contactlist.vapi \
+    $(INTROSPECTION_GIRS) \
     manager-file.py \
     tp-test-contactlist.h \
     $(NULL)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]