From: cohrs Date: Sat, 2 Feb 2002 07:16:50 +0000 (+0000) Subject: unix: default to groff for generating .ps from .mn X-Git-Tag: MOVE2GIT~3290 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=134b988d4f9e14f561746d36a7f0a7cc9c1ae0fe;p=nethack unix: default to groff for generating .ps from .mn also make it more obvious how to switch commands to create a .ps file --- diff --git a/sys/unix/Makefile.doc b/sys/unix/Makefile.doc index 1d68a41c3..81d571984 100644 --- a/sys/unix/Makefile.doc +++ b/sys/unix/Makefile.doc @@ -14,6 +14,10 @@ GUIDEBOOK = Guidebook # regular ASCII file COLCMD = col -bx #COLCMD = col -b +# The command to use to generate a PostScript file +# PSCMD = ditroff | psdit +PSCMD = groff + # Use the "cat" GUIDECMD if nroff and/or tbl and/or col are not installed # GUIDECMD = cat Guidebook.txt GUIDECMD = tbl tmac.n Guidebook.mn | nroff | $(COLCMD) @@ -24,7 +28,7 @@ Guidebook: Guidebook.mn # Fancier output for those with ditroff, psdit and a PostScript printer. Guidebook.ps: Guidebook.mn - tbl tmac.n Guidebook.mn | ditroff | psdit > Guidebook.ps + tbl tmac.n Guidebook.mn | $(PSCMD) > Guidebook.ps # Guidebook.tex is the same as Guidebook.mn but formatted with LaTeX. # - The invocation command for LaTeX may vary in different installations.