This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: [doc/gdbint.texinfo] \xdef\manvers{\$Revision: 1.142 $}
- To: Andrew Cagney <ac131313 at cygnus dot com>
- Subject: Re: [doc/gdbint.texinfo] \xdef\manvers{\$Revision: 1.142 $}
- From: Stan Shebs <shebs at apple dot com>
- Date: Wed, 31 Dec 1969 16:32:34 -0800
- CC: gdb at sources dot redhat dot com
- References: <3B297CFE.4030207@cygnus.com>
Andrew Cagney wrote:
>
> gdb/doc/gdbint.texinfo contains:
>
> > \def\$#1${{#1}} % Kluge: collect RCS revision info without $...$
> > \xdef\manvers{\$Revision: 1.142 $} % For use in headers, footers too
> > {\parskip=0pt
>
> I'm wondering if that should be changed to use gdb/version.in? I guess
> it really depends on what the purpose of it is.
>
> Anyone know?
Without researching it, I'll guess that this is old junk that Gilmore
added long ago, on the theory that cvs commits would result in a new
version number that could show up in a formatted manual. Of course,
since it's for TeX only, doesn't help with info files, web pages (the
web not yet having been invented at the time!), etc.
It would be maximally careful to check that the macro isn't secretly
referenced inside texinfo.tex, but other than that I don't know of a
reason not to just whack this.
Stan