groff-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[groff] 23/28: groff(1): Cross ref configured print spooler.


From: G. Branden Robinson
Subject: [groff] 23/28: groff(1): Cross ref configured print spooler.
Date: Wed, 25 May 2022 22:43:24 -0400 (EDT)

gbranden pushed a commit to branch master
in repository groff.

commit 0dfe2305d54a61a7a8fc6bb6b08f6ec329a953f9
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
AuthorDate: Wed May 25 18:46:38 2022 -0500

    groff(1): Cross ref configured print spooler.
    
    Fix insensitivity of groff(1) man page to configured spooler.
    
    * Makefile.am (.man): Replace `@PSPRINT@` in man page sources with name
      of configured print spooler command.
    
    * src/roff/groff/groff.1.man (Options) <-l>: Use configured print
      spooler command instead of literal 'lpr'.
---
 ChangeLog                  | 9 +++++++++
 Makefile.am                | 1 +
 src/roff/groff/groff.1.man | 2 +-
 3 files changed, 11 insertions(+), 1 deletion(-)

diff --git a/ChangeLog b/ChangeLog
index 5c2b6dbd..357967bb 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2022-05-25  G. Branden Robinson <g.branden.robinson@gmail.com>
+
+       Fix insensitivity of groff(1) man page to configured spooler.
+
+       * Makefile.am (.man): Replace `@PSPRINT@` in man page sources
+       with name of configured print spooler command.
+       * src/roff/groff/groff.1.man (Options) <-l>: Use configured
+       print spooler command instead of literal 'lpr'.
+
 2022-05-24  G. Branden Robinson <g.branden.robinson@gmail.com>
 
        * m4/groff.m4 (GROFF_UCHARDET_CHECK): Fix grammar nit in failure
diff --git a/Makefile.am b/Makefile.am
index 5e649fcc..2fa776ac 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -881,6 +881,7 @@ SUFFIXES += .man
             -e "s|[@]OLDFONTDIR[@]|`echo $(oldfontdir) | sed -f 
$(makevarescape)`|g" \
             -e "s|[@]PAGE[@]|\\\\%$(PAGE)|g" \
             -e "s|[@]PDFDOCDIR[@]|`echo $(pdfdocdir) | sed -f 
$(makevarescape)`|g" \
+            -e "s|[@]PSPRINT[@]|\\\\%$(PSPRINT)|g" \
             -e "s|[@]SYSTEMMACRODIR[@]|`echo $(systemtmacdir) | sed -f 
$(makevarescape)`|g" \
             -e "s|[@]TMAC_AN_PREFIX[@]|\\\\%$(tmac_an_prefix)|g" \
             -e "s|[@]TMAC_M_PREFIX[@]|\\\\%$(tmac_m_prefix)|g" \
diff --git a/src/roff/groff/groff.1.man b/src/roff/groff/groff.1.man
index d98d45b9..8d88c0a4 100644
--- a/src/roff/groff/groff.1.man
+++ b/src/roff/groff/groff.1.man
@@ -267,7 +267,7 @@ see
 .
 If no such directive is present for the output device,
 output is piped to
-.MR lpr 1 .
+.MR @PSPRINT@ 1 .
 .
 See options
 .B \-L



reply via email to

[Prev in Thread] Current Thread [Next in Thread]