From ef600a41f66eb69d4c7d5c91b6f34e7c46b19405 Mon Sep 17 00:00:00 2001 From: nhmall Date: Mon, 11 May 2026 19:16:03 -0400 Subject: [PATCH] allow a hints file to be able to specify GUIDECMD define GUIDECMD in sys/unix/Makefile.doc using '?=' notation --- sys/unix/Makefile.doc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sys/unix/Makefile.doc b/sys/unix/Makefile.doc index f2f42502a..dfb812700 100644 --- a/sys/unix/Makefile.doc +++ b/sys/unix/Makefile.doc @@ -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 -