allow a hints file to be able to specify GUIDECMD

define GUIDECMD in sys/unix/Makefile.doc using '?=' notation
This commit is contained in:
nhmall
2026-05-11 19:16:03 -04:00
parent c42d35eac0
commit ef600a41f6
+3 -3
View File
@@ -29,7 +29,7 @@ COLCMD ?= col -bx
# The command to use to generate a PostScript file
# PSCMD = ditroff | psdit
PSCMD = groff
PSCMD ?= groff
# Use the "cat" GUIDECMD if nroff and/or tbl and/or col are not installed
# Not appropriate for creating Guidebook.txt.
@@ -38,8 +38,8 @@ PSCMD = groff
# Single page. Might need adjustment to .pl value
# GUIDECMD= $(GUIDE_PREFORMAT) | perl -pe 's/^(.mt)$$/.pl 4720v\n.in 0\n.po 8\n.ll 64m\n$$1/' | nroff -c -Tascii | $(COLCMD)
#
GUIDECMD = $(GUIDE_PREFORMAT) | nroff -c -Tascii $(NROFF_FLAGS) | $(COLCMD)
ONEPAGECMD = $(ONEPAGE_PREFORMAT) | nroff -c -Tascii $(NROFF_FLAGS) | $(COLCMD)
GUIDECMD ?= $(GUIDE_PREFORMAT) | nroff -c -Tascii $(NROFF_FLAGS) | $(COLCMD)
ONEPAGECMD ?= $(ONEPAGE_PREFORMAT) | nroff -c -Tascii $(NROFF_FLAGS) | $(COLCMD)
# Only generate output for the current configuration:
NHGREP = $(MAKEDEFS) --grep --input - --output -