How to create single-page Guidebook.txt

This commit is contained in:
Pasi Kallinen
2018-04-10 18:19:45 +03:00
parent f9f7eb9633
commit 22cc37ed61
+5 -3
View File
@@ -27,9 +27,11 @@ PSCMD = groff
# Use the "cat" GUIDECMD if nroff and/or tbl and/or col are not installed # Use the "cat" GUIDECMD if nroff and/or tbl and/or col are not installed
# Not appropriate for creating Guidebook.txt. # Not appropriate for creating Guidebook.txt.
# GUIDECMD = cat Guidebook.txt # GUIDECMD = cat Guidebook.txt
# The following works better with groff-1.18, eg on Linux #
# GUIDECMD = $(GUIDE_PREFORMAT) | nroff -c -Tascii | $(COLCMD) # Single page. Might need adjustment to .pl value
GUIDECMD = $(GUIDE_PREFORMAT) | nroff | $(COLCMD) # 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 | $(COLCMD)
# Only generate output for the current configuration: # Only generate output for the current configuration:
NHGREP = $(MAKEDEFS) --grep --input - --output - NHGREP = $(MAKEDEFS) --grep --input - --output -