Allow clean builds from outside the source tree
Submitted by Mikkel Kamstrup Erlandsen
Link to original bug (#635503)
Description
Created attachment 175014 Patch fixing the reported issue
Vala fails to if you do a clean build in a directory that is not the source root (ie. "clean" as in "not from tarball, but from a clean source tree"). This is fx. the case if you do a jhbuild with buildroot!=None like we do in Unity.
The attached patch fixes this.
DISCLAIMER: I've not checked 'make distcheck' after this, but I'm quite sure it shouldn't break.
Patch 175014, "Patch fixing the reported issue":
vala-jhbuild-with-buildroot-2.patch