[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[groff] 09/53: doc/doc.am: sed-substitute "@g@".
From: |
G. Branden Robinson |
Subject: |
[groff] 09/53: doc/doc.am: sed-substitute "@g@". |
Date: |
Tue, 14 Dec 2021 01:21:47 -0500 (EST) |
gbranden pushed a commit to branch master
in repository groff.
commit 4262a0a6737553ce60dccc888fc8f8519f132f84
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
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 <g.branden.robinson@gmail.com>
+
+ * 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 <g.branden.robinson@gmail.com>
* 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= \
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [groff] 09/53: doc/doc.am: sed-substitute "@g@".,
G. Branden Robinson <=