[tracker/direct-access: 4/47] libtracker-sparql: Automatically generate tracker-sparql.vapi



commit bf2005232aad586322eb4b2a6cf3ef9d88a3ce33
Author: Jürg Billeter <j bitron ch>
Date:   Mon Jul 5 18:26:46 2010 +0200

    libtracker-sparql: Automatically generate tracker-sparql.vapi

 src/libtracker-sparql/Makefile.am         |   15 +++----------
 src/libtracker-sparql/tracker-sparql.vapi |   32 -----------------------------
 2 files changed, 4 insertions(+), 43 deletions(-)
---
diff --git a/src/libtracker-sparql/Makefile.am b/src/libtracker-sparql/Makefile.am
index 11a5a87..51a23e9 100644
--- a/src/libtracker-sparql/Makefile.am
+++ b/src/libtracker-sparql/Makefile.am
@@ -17,23 +17,16 @@ libtracker_sparql_ TRACKER_API_VERSION@_la_LDFLAGS = 	\
 #	-export-symbols-regex '^tracker_.*'
 
 libtracker_sparqlinclude_HEADERS = 			\
-	tracker-cursor.h
+	tracker-sparql.h
 
 # Vala bindings
 vapidir = $(datadir)/vala/vapi
 vapi_DATA =                     			\
 	tracker-sparql-$(TRACKER_API_VERSION).vapi
 
-tracker-sparql-$(TRACKER_API_VERSION).vapi: tracker-sparql.vapi
-	cp $< $@
-
 # Vala sources
-vapi_sources =						\
-	$(top_srcdir)/src/vapi/posix.vapi		\
-	$(top_srcdir)/src/vapi/glib-2.0-fixes.vapi
-
-libtracker-sparql.vala.stamp: $(libtracker_sparql_ TRACKER_API_VERSION@_la_VALASOURCES) $(vapi_sources)
-	$(AM_V_GEN)$(VALAC) $(GCOV_VALAFLAGS) -C $(VALAFLAGS) --pkg gio-2.0 -H tracker-cursor.h $^
+libtracker-sparql.vala.stamp: $(libtracker_sparql_ TRACKER_API_VERSION@_la_VALASOURCES)
+	$(AM_V_GEN)$(VALAC) $(GCOV_VALAFLAGS) -C $(VALAFLAGS) --pkg gio-2.0 -H tracker-sparql.h --vapi tracker-sparql-$(TRACKER_API_VERSION).vapi $^
 	$(AM_V_GEN)touch $@
 
 BUILT_SOURCES = 					\
@@ -45,7 +38,7 @@ CLEANFILES = 						\
 MAINTAINERCLEANFILES =					\
 	$(libtracker_sparql_ TRACKER_API_VERSION@_la_VALASOURCES:.vala=.c) \
 	libtracker-sparql.vala.stamp			\
-	tracker-cursor.h
+	tracker-sparql.h
 
 EXTRA_DIST = 						\
 	$(libtracker_sparql_ TRACKER_API_VERSION@_la_VALASOURCES) \



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