From: Kenneth Lorber Date: Tue, 11 Jan 2022 20:39:20 +0000 (-0500) Subject: Enable automated date generation on the Guidebook source files. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3a4cee59557edf4b8a0e118ad8b08d044fe76651;p=nethack Enable automated date generation on the Guidebook source files. --- diff --git a/doc/.gitattributes b/doc/.gitattributes index 80fecb1d5..689ad8bb1 100644 --- a/doc/.gitattributes +++ b/doc/.gitattributes @@ -10,3 +10,5 @@ tmac.nh NUSUBST fixes* NH_header=no *.txt NH_header=no * NH_filestag=(file%s_for_all_versions) +Guidebook.tex NH_DATESUB +Guidebook.mn NH_DATESUB diff --git a/doc/Guidebook.mn b/doc/Guidebook.mn index 08cdcf8e9..20eb0a345 100644 --- a/doc/Guidebook.mn +++ b/doc/Guidebook.mn @@ -1,4 +1,4 @@ -.\" $NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.414 $ $NHDT-Date: 1613011698 2021/02/11 02:48:18 $ +.\" $NHDT-Branch: keni-datesub2 $:$NHDT-Revision: 1.437 $ $NHDT-Date: 1641933560 2022/01/11 20:39:20 $ .\" .\" This is an excerpt from the 'roff' man page from the 'groff' package. .\" Guidebook.mn currently does *not* fully adhere to these guidelines. @@ -35,6 +35,7 @@ .ds vr "NetHack 3.7 .ds f0 "\*(vr .ds f1 +.\"DO NOT REMOVE NH_DATESUB .ds f2 "DATE(%B %-d, %Y) .ds f2 "November 16, 2021 . .\" A note on some special characters: diff --git a/doc/Guidebook.tex b/doc/Guidebook.tex index c77c4ec0e..c81f9c12d 100644 --- a/doc/Guidebook.tex +++ b/doc/Guidebook.tex @@ -45,6 +45,7 @@ %.au \author{Original version - Eric S. Raymond\\ (Edited and expanded for 3.7 by Mike Stephenson and others)} +%DO NOT REMOVE NH_DATESUB \date{DATE(%B %-d, %Y)} \date{November 16, 2021} \maketitle