summaryrefslogtreecommitdiff
path: root/src/libaccountsservice
diff options
context:
space:
mode:
authorRay Strode <rstrode@redhat.com>2013-06-12 13:19:26 -0400
committerRay Strode <rstrode@redhat.com>2013-06-12 13:19:26 -0400
commit17af4612e877c3a5c6bff67064d648f0eb2ea0cc (patch)
treedf20a637f57310fda977776e328dde0c2c4a58d9 /src/libaccountsservice
parentc3ca1e3c7837d8277bcd0b9932710ce1df9311b9 (diff)
downloadaccountsservice-17af4612e877c3a5c6bff67064d648f0eb2ea0cc.tar.gz
vala: drop .vapi file
It's caused various problems with distcheck, vala projects don't actually need it (they can just use gobject-introspection instead), and the Vala FAQ recommends shipping .vapi files in the consumer source, not provider source: Is having a local copy of a .vapi in my project good practice? Yes, it certainly is. There are a number of reasons why you want to do this. 1. Sometimes fixing bindings may lead to breakage in projects using such bindings. So having a local copy means that your project will not break whenever a bindings is updated system-wide. 2. If your project works with such bindings, there's no need to upgrade the bindings just for the sake of being up-to-date. It works, that's what matters. 3. It's you that decide when to upgrade the bindings, not the system. Thus it's you that decide when to break your own project in order to have more up-to-date bindings. Your project will keep compiling fine, even if system-wide bindings change.
Diffstat (limited to 'src/libaccountsservice')
-rw-r--r--src/libaccountsservice/Makefile.am19
1 files changed, 0 insertions, 19 deletions
diff --git a/src/libaccountsservice/Makefile.am b/src/libaccountsservice/Makefile.am
index 7b1f658..5c1684e 100644
--- a/src/libaccountsservice/Makefile.am
+++ b/src/libaccountsservice/Makefile.am
@@ -131,22 +131,3 @@ endif
MAINTAINERCLEANFILES = Makefile.in
EXTRA_DIST = org.freedesktop.ConsoleKit.Manager.xml org.freedesktop.ConsoleKit.Seat.xml org.freedesktop.ConsoleKit.Session.xml
-
-if ENABLE_VAPIGEN
--include $(VAPIGEN_MAKEFILE)
-
-accountsservice.vapi: AccountsService-1.0.gir accountsservice.deps
-
-VAPIGEN_VAPIS = accountsservice.vapi
-
-accountsservice_vapi_METADATADIRS = $(srcdir)
-accountsservice_vapi_FILES = AccountsService-1.0.gir
-
-vapidir = $(VAPIGEN_VAPIDIR)
-vapi_DATA = $(VAPIGEN_VAPIS) $(VAPIGEN_VAPIS:.vapi=.deps)
-
-EXTRA_DIST += accountsservice.deps accountsservice.vapi
-CLEANFILES += accountsservice.vapi
-
-
-endif