gbranden pushed a commit to branch master
in repository groff.
commit a2fe7ce4565eaf8a1b92a0a458691ade163b51e9
Author: G. Branden Robinson <[email protected]>
AuthorDate: Sat Jan 24 14:43:58 2026 -0600
doc/doc.am: Empower `DOC_SED` to replace `@PAGE@`.
---
ChangeLog | 7 +++++++
doc/doc.am | 1 +
2 files changed, 8 insertions(+)
diff --git a/ChangeLog b/ChangeLog
index 428fbeff1..6f992f649 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2026-01-24 G. Branden Robinson <[email protected]>
+
+ * doc/doc.am: Update `DOC_SED` macro to also perform substituion
+ of "@PAGE@" with the contents of the `PAGE` (Auto)make macro.
+ We can thus refer directly to this configuration parameter in
+ our Texinfo manual without directing the reader to a man page.
+
2026-01-22 G. Branden Robinson <[email protected]>
* tmac/groff_man.7.man.in (Document structure macros):
diff --git a/doc/doc.am b/doc/doc.am
index 43e2683f3..99d32873c 100644
--- a/doc/doc.am
+++ b/doc/doc.am
@@ -27,6 +27,7 @@ doc_builddir = doc
# the groff version number and the command prefix. Use this in rules to
# prepare formattable versions of them from .in files.
DOC_SED = $(SED) \
+ -e "s;[@]PAGE[@];$(PAGE);" \
-e "s;[@]VERSION[@];$(VERSION);" \
-e "s;[@]g[@];$(g);g;"
_______________________________________________
groff-commit mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/groff-commit