]> git.ipfire.org Git - thirdparty/automake.git/commit
vala: fix distcheck with c/vala mixed projects
authorMarc-Antoine Perennou <Marc-Antoine@Perennou.com>
Thu, 12 Apr 2012 11:32:58 +0000 (13:32 +0200)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Thu, 12 Apr 2012 12:08:57 +0000 (14:08 +0200)
commitc12161817a71b7ab5410896294ac44254e002d3b
tree9cad10704cefef1f952186420fed72dd6d076bbc
parentd714ec513745fe50c03d49c9ab6481ce36d3a27e
vala: fix distcheck with c/vala mixed projects

Fixes automake bug#11229.

* automake.in (lang_vala_finish_target): Return early if the
current '_SOURCES' variable does not contain any '.vala' nor
'.vapi' source.  Otherwise, the vala compiler will be called
without arguments, causing an error.
* tests/vala-mix.test: Enhance to catch the fixed bug.

Copyright-paperwork-exempt: yes
Signed-off-by: Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
automake.in
tests/vala-mix.test