Use absolute paths for --vapidir
authorSimon McVittie <simon.mcvittie@collabora.co.uk>
Thu, 28 Feb 2013 16:50:08 +0000 (16:50 +0000)
committerSimon McVittie <simon.mcvittie@collabora.co.uk>
Wed, 6 Mar 2013 18:53:15 +0000 (18:53 +0000)
commita08b1b2f41f34a94c98c35552753d47eee98fcf3
treef3ca95b23f9c4d5eb6009b4c39c37f7d78f523aa
parent36ed61b85c2848fbd0e056579d8164c59aa0d2d7
Use absolute paths for --vapidir

In the rules currently generated by Automake, valac currently runs
cd'd into the ${srcdir}. It seems unwise to rely on that, and the
only thing that will work regardless of whether ${srcdir} is ".",
relative or absolute is its "absolutized" version.

Similarly, look in both the ${srcdir} and the ${builddir} for Vala
bindings we generate: the ${srcdir} because that's where valac currently
puts them, and the ${builddir} because that's where they ought to go
in principle.

Bug: https://bugzilla.gnome.org/show_bug.cgi?id=694883
Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
Reviewed-by: Philip Withnall <philip@tecnocode.co.uk>
backends/telepathy/Makefile.am
backends/telepathy/lib/Makefile.am
folks/Makefile.am
tests/folks/Makefile.am
tests/telepathy/Makefile.am