]> granicus.if.org Git - nethack/commitdiff
unix: default to groff for generating .ps from .mn
authorcohrs <cohrs>
Sat, 2 Feb 2002 07:16:50 +0000 (07:16 +0000)
committercohrs <cohrs>
Sat, 2 Feb 2002 07:16:50 +0000 (07:16 +0000)
also make it more obvious how to switch commands to create a .ps file

sys/unix/Makefile.doc

index 1d68a41c3248655a99beb2377c75350148707059..81d5719846fb1c73e2d80a0f34500b5e577f1a9a 100644 (file)
@@ -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.