aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2010-04-29 12:07:21 -0500
committerTed Gould <ted@gould.cx>2010-04-29 12:07:21 -0500
commitfae0a61f431325f1f9023026368ec27cb5b2b01a (patch)
tree4109a99326b96bd69b410c12be69a185fc672f67
parentf5c58a84fb15018f8d60347d156f4e1660921791 (diff)
downloadlibayatana-appindicator-fae0a61f431325f1f9023026368ec27cb5b2b01a.tar.gz
libayatana-appindicator-fae0a61f431325f1f9023026368ec27cb5b2b01a.tar.bz2
libayatana-appindicator-fae0a61f431325f1f9023026368ec27cb5b2b01a.zip
Now, build us a VAPI!
-rw-r--r--src/Makefile.am19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index a1d018b..c2bac63 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -176,3 +176,22 @@ CLEANFILES += $(gir_DATA) $(typelib_DATA)
endif
+#########################
+# VAPI Files
+#########################
+
+if HAVE_INTROSPECTION
+
+vapidir = $(datadir)/vala/vapi
+vapi_DATA = AppIndicator-0.1.vapi
+
+AppIndicator-0.1.vapi: AppIndicator-0.1.gir Makefile.am
+ $(VALA_API_GEN) --library=AppIndicator-0.1 \
+ --pkg gtk+-2.0 \
+ --vapidir=$(top_builddir)/src \
+ $<
+
+CLEANFILES += $(vapi_DATA)
+
+endif
+