summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorColin Walters <walters@verbum.org>2012-05-11 15:53:51 +0100
committerSimon McVittie <simon.mcvittie@collabora.co.uk>2012-05-11 16:59:13 +0100
commit14992772277269299373386d68a632a5968ad511 (patch)
treebf5a2b14e135ebdab0ddb9eaa984f1fe23128706
parentf3681d4dddcfbb86525dcf2b9371231ad3681de5 (diff)
downloadtelepathy-glib-14992772277269299373386d68a632a5968ad511.tar.gz
vala: Fix srcdir != builddir
We need to look for the .metadata file in the source directory, otherwise we silently generate a binding with a namespace of "Tp", not "TelepathyGLib". Bug: https://bugs.freedesktop.org/show_bug.cgi?id=49802 Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
-rw-r--r--vala/Makefile.am1
1 files changed, 1 insertions, 0 deletions
diff --git a/vala/Makefile.am b/vala/Makefile.am
index faefefa91..8076076b7 100644
--- a/vala/Makefile.am
+++ b/vala/Makefile.am
@@ -15,6 +15,7 @@ pkgconfigdir = ${libdir}/pkgconfig
telepathy-glib.vapi: $(top_builddir)/telepathy-glib/TelepathyGLib-0.12.gir
$(VAPIGEN_V)$(VAPIGEN) \
--library telepathy-glib \
+ --metadatadir=$(top_srcdir)/telepathy-glib \
--pkg gio-2.0 \
$< \
$(NULL)