summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog9
-rw-r--r--Makefile.am1
-rw-r--r--src/roff/groff/groff.1.man2
3 files changed, 11 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 5c2b6dbdd..357967bb1 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 5e649fcce..2fa776ac4 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 d98d45b9a..8d88c0a4c 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