Hi Quentin, thanks for the report. On 02/26/2012 10:12 PM, Quentin Glidic wrote: > Package: automake > Version: 1.11.3 > > Hello, > > The distcheck of a project which mix C and Vala targets in the same Makefile.am > leads to a pass of C targets to valac, which is completely wrong and fails if > you put your headers in _SOURCES (valac ignores *.c files only). > This is bad. We had a test in the automake testsuite that tried to build a project with mixed C/Vala sources, but it didn't use a C header as well :-( I've thus added a new test case that exposes the bug (see the first attached patch). > Attached a patch that limits the vala stamps’ generation to targets with > *.vala file. > Unfortunately, your patch doesn't seem to fix the issue. I've attached a second patch that seems to do the trick. It will appear in the next automake version (1.12) unless there are objections. Thanks, Stefano