guidebook building command

I found that the setting of GUIDECMD sys/unix/Makefile.doc didn't cut
it with groff-1.18.  Also, the command was duplicated in the rule to
generate Guidebook.txt.
This commit is contained in:
cohrs
2003-06-12 05:16:20 +00:00
parent 90c03c2f0a
commit a686589b1f
2 changed files with 5 additions and 1 deletions

View File

@@ -112,6 +112,7 @@ tiles: high priest tile had a couple bad pixels
tiles: bad pixels in Croesus and Yeenoghu tiles
FreeBSD: incorrect srandom declaration
unix: don't autosave if hangup occurs after game is over
linux: add example use of nroff on recent Linux distros
General New Features

View File

@@ -19,7 +19,10 @@ COLCMD = col -bx
PSCMD = groff
# Use the "cat" GUIDECMD if nroff and/or tbl and/or col are not installed
# Not appropriate for creating Guidebook.txt.
# GUIDECMD = cat Guidebook.txt
# The following works better with groff-1.18, eg on Linux
# GUIDECMD = tbl tmac.n Guidebook.mn | nroff -c -Tascii | $(COLCMD)
GUIDECMD = tbl tmac.n Guidebook.mn | nroff | $(COLCMD)
# the basic guidebook
@@ -68,7 +71,7 @@ distrib: $(DISTRIB)
@echo "Plain text documentation is up to date."
Guidebook.txt : Guidebook.mn tmac.n
tbl tmac.n Guidebook.mn | nroff | $(COLCMD) > Guidebook.txt
$(GUIDECMD) > Guidebook.txt
nethack.txt : nethack.6
nroff -man nethack.6 | $(COLCMD) > nethack.txt
lev_comp.txt : lev_comp.6