[tracker] libtracker-sparql: Fix header filename in generated vapi
- From: Jürg Billeter <juergbi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker] libtracker-sparql: Fix header filename in generated vapi
- Date: Thu, 7 Apr 2011 14:28:55 +0000 (UTC)
commit 58865058c50c2d14a5bce6421d70dee8c8d8fde2
Author: Jürg Billeter <j bitron ch>
Date: Thu Apr 7 14:50:06 2011 +0200
libtracker-sparql: Fix header filename in generated vapi
src/libtracker-sparql/Makefile.am | 9 +++++++--
1 files changed, 7 insertions(+), 2 deletions(-)
---
diff --git a/src/libtracker-sparql/Makefile.am b/src/libtracker-sparql/Makefile.am
index 4ba7dcf..2b86067 100644
--- a/src/libtracker-sparql/Makefile.am
+++ b/src/libtracker-sparql/Makefile.am
@@ -7,7 +7,7 @@ AM_VALAFLAGS = \
--library tracker-sparql-$(TRACKER_API_VERSION) \
--includedir=libtracker-sparql \
--header $(vala_header:.h=-no-checks.h) \
- --vapi tracker-sparql-$(TRACKER_API_VERSION).vapi \
+ --vapi tracker-sparql.vapi \
--pkg gio-2.0 --pkg gmodule-2.0 --pkg posix \
$(BUILD_VALAFLAGS) \
$(top_srcdir)/src/vapi/glib-2.0-fixes.vapi
@@ -43,6 +43,9 @@ vala_header = tracker-generated.h
echo "#endif") > $@
$(AM_V_GEN)(cat $< >> $@)
+tracker-sparql-$(TRACKER_API_VERSION).vapi: $(srcdir)/tracker-sparql.vapi
+ $(AM_V_GEN)(sed -e 's/tracker-generated-no-checks.h/tracker-sparql.h/' $< > $@)
+
libtracker_sparqlinclude_HEADERS = \
$(vala_header) \
tracker-sparql.h \
@@ -65,8 +68,10 @@ MAINTAINERCLEANFILES = \
tracker-sparql-$(TRACKER_API_VERSION).deps \
$(vala_header:.h=-no-checks.h)
+CLEANFILES = \
+ tracker-sparql-$(TRACKER_API_VERSION).vapi
+
EXTRA_DIST = \
- tracker-sparql-$(TRACKER_API_VERSION).vapi \
tracker-sparql-$(TRACKER_API_VERSION).deps \
tracker-sparql.deps \
$(vala_header:.h=-no-checks.h)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]