build: fix for text documentation generation

Fix the date/version tags in the man pages also.

Signed-off-by: Kevin Shanahan <kmshanah@disenchant.net>
This commit is contained in:
Kevin Shanahan 2013-03-20 10:42:52 +10:30
parent f369c97f68
commit f0af8eac91
4 changed files with 4 additions and 3 deletions

View File

@ -213,6 +213,7 @@ quiet_cmd_man2txt = ' MAN2TXT $@'
cmd_man2txt = \
$(GROFF) -man -Tascii $< | cat -v | \
sed -e 's/\^\[\[\([0-9]\)\{1,2\}[a-z]//g' \
-e 's/.\^H//g' \
-e 's/$$/'`printf \\\r`'/' > $(@D)/.$(@F).tmp && \
mv $(@D)/.$(@F).tmp $@

View File

@ -1,7 +1,7 @@
.\" Process this file with
.\" groff -man -Tascii light.1
.\"
.TH LIGHT 1 "MARCH 2013" TYRUTILS
.TH LIGHT 1 "TYR_VERSION" TYRUTILS
.SH NAME
light \- Caclulate lightmap data for a Quake BSP file

View File

@ -1,7 +1,7 @@
.\" Process this file with
.\" groff -man -Tascii qbsp.1
.\"
.TH QBSP 1 "MARCH 2013" TYRUTILS
.TH QBSP 1 "TYR_VERSION" TYRUTILS
.SH NAME
qbsp \- Compile a Quake BSP file from a MAP source file

View File

@ -1,7 +1,7 @@
.\" Process this file with
.\" groff -man -Tascii qbsp.1
.\"
.TH VIS 1 "MARCH 2013" TYRUTILS
.TH VIS 1 "TYR_VERSION" TYRUTILS
.SH NAME
vis \- Compute visibility (PVS) for a Quake BSP file