vala: fix VPATH builds
commit72f7e5de24468adfeded4b14eae97a839ae3b531
authorRyan Lortie <desrt@desrt.ca>
Sat, 7 Jan 2012 06:08:11 +0000 (7 01:08 -0500)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Sun, 8 Jan 2012 11:07:21 +0000 (8 12:07 +0100)
tree87c37a49e6b0a65e6d6c4c7e3246a007fd57836a
parentc7ee8c6db00ddc4cd90b9d44c5ccf3a90d26663b
vala: fix VPATH builds

This change fixes automake bug#9859.

* automake.in (lang_vala_finish_target): Create the stamp file
'${derived}_vala.stamp' in $(srcdir), not in $(builddir).
Also, don't try to chdir to the $(srcdir) to trigger the rebuild
rules, since that is just wrong in a VPATH setup.
* tests/vala-vpath.test, tests/vala2.test: Extend to catch more
possible VPATH issues.
* tests/Makefile.am (XFAIL_TESTS): Remove 'vala-vpath.test'.
* NEWS, THANKS: Update.

Co-authored-by: Stefano Lattarini <stefano.lattarini@gmail.com>
Copyright-paperwork-exempt: yes
NEWS
THANKS
automake.in
tests/Makefile.am
tests/vala-vpath.test
tests/vala2.test