Make distcheck on main is not working for me. The issue is when it tries to create a file called .version-t and then move it to .version. It tries to create this file in $top_srcdir, which ought to be read-only. The following patch, in which I build it in $top_builddir, works for me. Regards, Mike Gran