Thanks, but no dice:
[...]
(./gretl-ref.aux (./cmdref.aux)
Runaway argument?
{\contentsline {subsubsection}{Diversion to a string buffer}{62}{sect\ETC.
! File ended while scanning use of \@writefile.
<inserted text>
\par
l.5 \@input{cmdref.aux}
?
Perhaps doing "make clean" before the build would help.
I don't think there's a real problem there because people are regularly compiling from the source and would notice, too.
cheers
sven