summaryrefslogtreecommitdiff
path: root/src/libtracker-direct/Makefile.am
diff options
context:
space:
mode:
authorPhilip Van Hoof <philip@codeminded.be>2010-07-07 15:56:45 +0200
committerJürg Billeter <j@bitron.ch>2010-08-16 17:31:40 +0200
commit2c8f65f09b0414136509b74da5b829a0e82eba17 (patch)
tree422d2d68529da268b719ccadc61d0afac2d2c69d /src/libtracker-direct/Makefile.am
parente7117cfe30c48432dbb304b40a7fdb26ae142be1 (diff)
downloadtracker-2c8f65f09b0414136509b74da5b829a0e82eba17.tar.gz
libtracker-direct: Create tracker-direct.vapi
Diffstat (limited to 'src/libtracker-direct/Makefile.am')
-rw-r--r--src/libtracker-direct/Makefile.am7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/libtracker-direct/Makefile.am b/src/libtracker-direct/Makefile.am
index c5113e018..b96d45644 100644
--- a/src/libtracker-direct/Makefile.am
+++ b/src/libtracker-direct/Makefile.am
@@ -38,8 +38,13 @@ vapi_sources = \
$(top_srcdir)/src/libtracker-data/libtracker-data.vapi \
$(top_srcdir)/src/libtracker-data/tracker-sparql-query.vapi
+# Vala bindings
+vapidir = $(datadir)/vala/vapi
+vapi_DATA = \
+ tracker-direct-$(TRACKER_API_VERSION).vapi
+
libtracker-direct.vala.stamp: $(libtracker_direct_la_VALASOURCES) $(vapi_sources)
- $(AM_V_GEN)$(VALAC) $(GCOV_VALAFLAGS) -C $(VALAFLAGS) --pkg gio-2.0 -H tracker-direct.h $^
+ $(AM_V_GEN)$(VALAC) $(GCOV_VALAFLAGS) -C $(VALAFLAGS) --pkg gio-2.0 -H tracker-direct.h --vapi tracker-direct-$(TRACKER_API_VERSION).vapi $^
$(AM_V_GEN)touch $@
libtracker_direct_@TRACKER_API_VERSION@_la_LIBADD = \