gbranden pushed a commit to branch master
in repository groff.
commit 4262a0a6737553ce60dccc888fc8f8519f132f84
Author: G. Branden Robinson <[email protected]>
AuthorDate: Mon Dec 6 10:13:52 2021 +1100
doc/doc.am: sed-substitute "@g@".
* doc/doc.am (DOC_SED): Add substitution of command prefix ("@g@") so we
can make accurate reference to groff commands with Unix counterparts
in our documentation.
---
ChangeLog | 6 ++++++
doc/doc.am | 4 +++-
2 files changed, 9 insertions(+), 1 deletion(-)
diff --git a/ChangeLog b/ChangeLog
index 9ec88d1..5b21fee 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2021-12-06 G. Branden Robinson <[email protected]>
+
+ * doc/doc.am (DOC_SED): Add substitution of command prefix
+ {"@g@"} so we can make accurate reference to groff commands with
+ Unix counterparts in our documentation.
+
2021-12-05 G. Branden Robinson <[email protected]>
* doc/doc.am (doc/meintro_fr.ps): Add target rule (overriding
diff --git a/doc/doc.am b/doc/doc.am
index 3c36b52..217eab3 100644
--- a/doc/doc.am
+++ b/doc/doc.am
@@ -21,7 +21,9 @@
doc_srcdir = $(abs_top_srcdir)/doc
doc_builddir = $(abs_top_builddir)/doc
-DOC_SED = $(SED) -e "s;[@]VERSION[@];$(VERSION);"
+DOC_SED = $(SED) \
+ -e "s;[@]VERSION[@];$(VERSION);" \
+ -e "s;[@]g[@];$(g);g;"
DOC_GROFF_ONLY=\
GROFF_COMMAND_PREFIX= \
_______________________________________________
Groff-commit mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/groff-commit