Hi Gavin, Upgrading to texinfo-6.0 seems to fix the problem. From my earlier tests I am pretty sure that the -Dvariable=value syntax did not solve the problem with 5.2.
Thanks for verifying the issue I was seeing! Dave Oostdyk On Fri, Jul 31, 2015 at 7:22 AM, Gavin Smith <[email protected]> wrote: > On 30 July 2015 at 15:19, David Oostdyk <[email protected]> wrote: >> I made an example project, but it occurs to me that I'm not sure what >> the rules regarding file attachment to the mailing list are, so I will >> email it separately if you are willing to give it a try. > > Karl sent me the example project, but it works fine with texinfo 6.0. > I tried it with texinfo 5.2, and replicated the error: > > ./docs/example.texi:31: warning: undefined flag: abs_top_srcdir > ./docs/example.texi:31: @verbatiminclude: could not find /example/test1.c > make[1]: *** [docs/example.info] Error 1 > > Looking at the ChangeLog, I saw this change: > > 2014-03-14 Karl Berry <[email protected]> > > * tp/texi2any.pl (D=s): handle -D 'var value', as C makeinfo did. > Based on bug-texinfo mail from Guo Yixuan, 4 Mar 2014 17:29:34 -0500 > (tiny change). > (makeinfo_help): document it. > * doc/texinfo.texi (Invoking @t{texi2any}): document it. > > That's likely the change that made it work. Either upgrade to texinfo > 6.0 or -D var=value might work.
