groff-commit
[Top][All Lists]
Advanced

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

[groff] 31/31: [build]: Expand @PAGE@ when generating man pages.


From: G. Branden Robinson
Subject: [groff] 31/31: [build]: Expand @PAGE@ when generating man pages.
Date: Mon, 31 Jan 2022 11:28:13 -0500 (EST)

gbranden pushed a commit to branch master
in repository groff.

commit 90bf377ee89352983d3e7394cd8f7fc172e36175
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
AuthorDate: Tue Feb 1 02:20:27 2022 +1100

    [build]: Expand @PAGE@ when generating man pages.
    
    * Makefile.am (.man): Substitute the './configure'd paper format for
      @PAGE@.
    
    * src/roff/groff/groff.1.man: Use it.
---
 ChangeLog                  | 8 ++++++++
 Makefile.am                | 1 +
 src/roff/groff/groff.1.man | 7 ++++---
 3 files changed, 13 insertions(+), 3 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index de8aa662..714e5262 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2022-01-31  G. Branden Robinson <g.branden.robinson@gmail.com>
+
+       [build]: Expand '@PAGE@' when generating man pages.
+
+       * Makefile.am (.man): Substitute the './configure'd paper format
+       for @PAGE@.
+       * src/roff/groff/groff.1.man: Use it.
+
 2022-01-31  G. Branden Robinson <g.branden.robinson@gmail.com>
 
        [man]: Trivially refactor an-ext.tmac.
diff --git a/Makefile.am b/Makefile.am
index 741a333e..d3fa426b 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -910,6 +910,7 @@ SUFFIXES += .man
             -e "s|[@]MAN7EXT[@]|$(man7ext)|g" \
             -e "s|[@]MDATE[@]|`$(PERL) $(top_srcdir)/mdate.pl $<`|g" \
             -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|[@]SYSTEMMACRODIR[@]|`echo $(systemtmacdir) | sed -f 
$(makevarescape)`|g" \
             -e "s|[@]TMAC_AN_PREFIX[@]|$(tmac_an_prefix)|g" \
diff --git a/src/roff/groff/groff.1.man b/src/roff/groff/groff.1.man
index eb8838a7..78e75e24 100644
--- a/src/roff/groff/groff.1.man
+++ b/src/roff/groff/groff.1.man
@@ -774,9 +774,10 @@ like \[lq]letter\[rq] or
 see
 .MR groff_tmac @MAN5EXT@ .
 .
-The default used by the formatter depends on its build configuration,
-but is usually one of the foregoing,
-as geographically appropriate.
+The default used by the formatter depends on its build configuration;
+in this installation,
+it is
+.RB \[lq] @PAGE@ \[rq].
 .
 .
 .P



reply via email to

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