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:
parent
f369c97f68
commit
f0af8eac91
1
Makefile
1
Makefile
|
|
@ -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 $@
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue