summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Berry <karl@gnu.org>1998-09-30 15:43:32 +0000
committerKarl Berry <karl@gnu.org>1998-09-30 15:43:32 +0000
commit321b447568ff4fa5507dac0b1e266dd7847d5006 (patch)
tree7ccb645f981b9082a160c2297e8519eb708d0bee
parentb5722838c203d4411c87752ace0b199b8e5182d3 (diff)
downloadgunmake-321b447568ff4fa5507dac0b1e266dd7847d5006.tar.gz
* texinfo.tex: Use date as version number instead of RCS, and
update-date to update it.
-rw-r--r--texinfo.tex14
1 files changed, 8 insertions, 6 deletions
diff --git a/texinfo.tex b/texinfo.tex
index 2cc8256..000a8a8 100644
--- a/texinfo.tex
+++ b/texinfo.tex
@@ -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: