aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2010-03-01 10:28:25 -0600
committerTed Gould <ted@gould.cx>2010-03-01 10:28:25 -0600
commit1c3e46d6c67bf175fa2354e327488e74486294fe (patch)
tree26820724ea555caafaa615af3c9a4b12840b9c6a
parente5933b7ccca264b6e0a4fa206d7402119ad6defe (diff)
downloadlibdbusmenu-1c3e46d6c67bf175fa2354e327488e74486294fe.tar.gz
libdbusmenu-1c3e46d6c67bf175fa2354e327488e74486294fe.tar.bz2
libdbusmenu-1c3e46d6c67bf175fa2354e327488e74486294fe.zip
Adding in VAPI generation
-rw-r--r--libdbusmenu-glib/Makefile.am16
1 files changed, 16 insertions, 0 deletions
diff --git a/libdbusmenu-glib/Makefile.am b/libdbusmenu-glib/Makefile.am
index dc3dbe1..1264525 100644
--- a/libdbusmenu-glib/Makefile.am
+++ b/libdbusmenu-glib/Makefile.am
@@ -125,3 +125,19 @@ CLEANFILES += $(dist_gir_DATA) $(typelib_DATA)
endif
+#########################
+# VAPI Files
+#########################
+
+if HAVE_INTROSPECTION
+
+vapidir = $(datadir)/vala/vapi
+vapi_DATA = DbusmenuGlib-0.2.vapi
+
+DbusmenuGlib-0.2.vapi: DbusmenuGlib-0.2.gir
+ $(VALA_API_GEN) --library=DbusmenuGlib-0.2 $<
+
+CLEANFILES += $(vapi_DATA)
+
+endif
+