[rhythmbox] vala: install .vapi files
- From: Jonathan Matthew <jmatthew src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [rhythmbox] vala: install .vapi files
- Date: Sat, 17 Apr 2010 12:49:14 +0000 (UTC)
commit 09f29d758ffa0681d54430e2b91aeb5426fa16f6
Author: Jonathan Matthew <jonathan d14n org>
Date: Sat Apr 17 22:45:21 2010 +1000
vala: install .vapi files
bindings/vala/Makefile.am | 12 ++++++++----
configure.ac | 2 ++
2 files changed, 10 insertions(+), 4 deletions(-)
---
diff --git a/bindings/vala/Makefile.am b/bindings/vala/Makefile.am
index 6deb5f2..dbc7925 100644
--- a/bindings/vala/Makefile.am
+++ b/bindings/vala/Makefile.am
@@ -1,5 +1,9 @@
-dist_noinst_DATA = \
- rhythmdb.deps \
- rhythmdb.vapi \
+vapidir = $(VAPIDIR)
+
+vapi_VAPI = \
+ rb.vapi \
+ rhythmdb.vapi
+
+dist_noinst_DATA = \
rb.deps \
- rb.vapi
+ rhythmdb.deps
diff --git a/configure.ac b/configure.ac
index d6d639e..e420825 100644
--- a/configure.ac
+++ b/configure.ac
@@ -757,7 +757,9 @@ if test "x$enable_vala" = "xyes"; then
with_vala=no)
if test "x$with_vala" = "xyes"; then
VALAC="`pkg-config --variable=prefix vala-1.0`/bin/valac"
+ VAPIDIR="`pkg-config --variable=vapidir vala-1.0`"
AC_SUBST([VALAC])
+ AC_SUBST([VAPIDIR])
elif test "x$enable_vala" = "xyes"; then
AC_MSG_ERROR([Vala plugin support explicitly requested, but not found])
fi
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]