[tracker/needle: 26/41] tracker-needle: Fixed build requirements in Makefile.am



commit 616b10bd94bd457d2ab4937884b18f836ac388f8
Author: Martyn Russell <martyn lanedo com>
Date:   Sun Aug 15 17:38:54 2010 +0100

    tracker-needle: Fixed build requirements in Makefile.am

 src/tracker-needle/Makefile.am |   10 +++++++---
 1 files changed, 7 insertions(+), 3 deletions(-)
---
diff --git a/src/tracker-needle/Makefile.am b/src/tracker-needle/Makefile.am
index 0139987..7be13a2 100644
--- a/src/tracker-needle/Makefile.am
+++ b/src/tracker-needle/Makefile.am
@@ -11,9 +11,13 @@ tracker_needle_VALASOURCES = 					\
 tracker_needle_SOURCES = 					\
 	$(tracker_needle_VALASOURCES:.vala=.c)
 
-tracker-needle.vala.stamp: $(tracker_needle_VALASOURCES) config.vapi
-	$(VALAC) -C -g --pkg dbus-glib-1 --pkg gtk+-2.0 $^
-	touch tracker-needle.vala.stamp
+vapi_sources = \
+	$(top_srcdir)/src/libtracker-sparql/tracker-sparql-$(TRACKER_API_VERSION).vapi \
+	config.vapi
+
+tracker-needle.vala.stamp: $(tracker_needle_VALASOURCES) $(vapi_sources)
+	$(AM_V_GEN)$(VALAC) $(GCOV_VALAFLAGS) -C $(VALAFLAGS) -g --pkg dbus-glib-1 --pkg gtk+-2.0 $^
+	$(AM_V_GEN)touch $@
 
 tracker_needle_CFLAGS = 					\
 	-DTRACKER_UI_DIR=\"$(datadir)/tracker/\"		\



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