summaryrefslogtreecommitdiff
path: root/vala
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:35:30 +0100
commitfc6d558a71bfbe97362aade4a0fe8598b0ad067e (patch)
tree6bb4e068dd3f7c0d368f2357921bbfb790fce70b /vala
parent7c668dad51a51500d47a19ae5ea3b4ea68e78456 (diff)
downloadtelepathy-glib-fc6d558a71bfbe97362aade4a0fe8598b0ad067e.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>
Diffstat (limited to 'vala')
-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)