]> granicus.if.org Git - nethack/commitdiff
Enable automated date generation on the Guidebook source files.
authorKenneth Lorber <keni@his.com>
Tue, 11 Jan 2022 20:39:20 +0000 (15:39 -0500)
committerKenneth Lorber <keni@his.com>
Tue, 11 Jan 2022 20:39:20 +0000 (15:39 -0500)
doc/.gitattributes
doc/Guidebook.mn
doc/Guidebook.tex

index 80fecb1d5d8183d2d657ce0a3100e8b76a14533d..689ad8bb19fc0fe1bf34dc3be99546f3a4ba21d0 100644 (file)
@@ -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
index 08cdcf8e90ae5c5ac0ed056c481e3f07ef0dbb9a..20eb0a34565d2fa187d4925784cde41c82b91d91 100644 (file)
@@ -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:
index c77c4ec0e2f7cacdb30620a967a8eef262930c8e..c81f9c12d21d2dd0ea3ce8423c93cc0173378b5c 100644 (file)
@@ -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