* texinfo.tex: Use date as version number instead of RCS, and

update-date to update it.
This commit is contained in:
Karl Berry 1998-09-30 15:43:32 +00:00
parent b5722838c2
commit 321b447568

View file

@ -1,5 +1,5 @@
% texinfo.tex -- TeX macros to handle Texinfo files.
% $Id$
\def\texinfoversion{1998-09-30}%
%
% Copyright (C) 1985, 86, 88, 90, 91, 92, 93, 94, 95, 96, 97, 98
% Free Software Foundation, Inc.
@ -56,15 +56,12 @@
% Added by gildea November 1993.
\expandafter\ifx\csname fmtname\endcsname\relax\input plain\fi
% This automatically updates the version number based on RCS.
\def\deftexinfoversion$#1: #2 ${\def\texinfoversion{#2}}
\deftexinfoversion$Revision$
\message{Loading texinfo package [Version \texinfoversion]:}
\message{Loading texinfo [version \texinfoversion]:}
% If in a .fmt file, print the version number
% and turn on active characters that we couldn't do earlier because
% they might have appeared in the input file name.
\everyjob{\message{[Texinfo version \texinfoversion]}\message{}
\everyjob{\message{[Texinfo version \texinfoversion]}%
\catcode`+=\active \catcode`\_=\active}
% Save some parts of plain tex whose names we will redefine.
@ -5449,4 +5446,9 @@ width0pt\relax} \fi
@c Local variables:
@c page-delimiter: "^\\\\message"
@c update-date-leading-regexp: "def\\texinfoversion{"
@c update-date-date-regexp: "[-0-9.]+"
@c update-date-format-string: "%Y-%m-%d"
@c update-date-trailing-regexp: "}"
@c eval: (and(load "update-date" t t)(add-hook 'write-file-hooks 'update-date))
@c End: