[tracker/introspection] libtracker-sparql (introspection): set correct library in gir



commit 618ff919392853005aa83292e2f2914931f1b098
Author: Ivan Frade <ivan frade nokia com>
Date:   Thu Mar 24 17:08:59 2011 +0200

    libtracker-sparql (introspection): set correct library in gir
    
    This is needed when linked from other gir files.

 src/libtracker-sparql/Makefile.am |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/libtracker-sparql/Makefile.am b/src/libtracker-sparql/Makefile.am
index 19308c5..52c8db6 100644
--- a/src/libtracker-sparql/Makefile.am
+++ b/src/libtracker-sparql/Makefile.am
@@ -6,7 +6,7 @@ lib_LTLIBRARIES = libtracker-sparql- TRACKER_API_VERSION@.la
 
 AM_VALAFLAGS =                                         \
 	--gir=Tracker-$(TRACKER_API_VERSION).gir \
-	--library Tracker-$(TRACKER_API_VERSION) \
+	--library tracker-sparql-$(TRACKER_API_VERSION) \
 	--includedir=libtracker-sparql                 \
 	--header tracker-sparql.h                      \
 	--vapi tracker-sparql-$(TRACKER_API_VERSION).vapi \
@@ -71,7 +71,7 @@ EXTRA_DIST =                                           \
 
 if HAVE_INTROSPECTION
 #  set introspectable=0 to the function that uses va_list. This is not needed with a modern vala ( > 23/03/2011)
-Tracker- TRACKER_API_VERSION@.gir: $(lib_LTLIBRARIES)
+Tracker- TRACKER_API_VERSION@.gir: $(lib_LTLIBRARIES) Makefile
 	sed -i $@ -e "s/c\:identifier\=\"tracker_sparql_escape_uri_vprintf\"/c\:identifier\=\"tracker_sparql_escape_uri_vprintf\"\ introspectable=\"0\"/g"
 
 Tracker- TRACKER_API_VERSION@.typelib: Tracker-$(TRACKER_API_VERSION).gir
@@ -83,5 +83,5 @@ dist_gir_DATA = Tracker-$(TRACKER_API_VERSION).gir
 typelibdir = $(libdir)/girepository-1.0
 typelib_DATA = Tracker-$(TRACKER_API_VERSION).typelib
 
-CLEANFILES = $(dist_gir_DATA) $(typelibs_DATA)
+CLEANFILES = $(dist_gir_DATA) $(typelib_DATA)
 endif
\ No newline at end of file



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