gbranden pushed a commit to branch master
in repository groff.
commit ffcf7e97313aaadb88e8773bd4f5b67240595b28
Author: G. Branden Robinson <[email protected]>
AuthorDate: Thu Dec 18 10:09:07 2025 -0600
doc/doc.am: Use better terminology.
There are (at least) 3 kinds of "make" rules: target rules, suffix
rules, and inference rules. Stop being overly specific. There's no
reason the `DOC_SED` and `DOC_GROFF` macros can't be used in suffix or
inference rules.
---
doc/doc.am | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/doc/doc.am b/doc/doc.am
index d2d7c3026..eef0d0d15 100644
--- a/doc/doc.am
+++ b/doc/doc.am
@@ -24,13 +24,13 @@ doc_srcdir = $(abs_top_srcdir)/doc
doc_builddir = $(abs_top_builddir)/doc
# Some document sources are parameterized in configuration options like
-# the groff version number and the command prefix. Use this in target
-# rules to prepare formattable versions of them from .in files.
+# 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;[@]VERSION[@];$(VERSION);" \
-e "s;[@]g[@];$(g);g;"
-# Use this in target rules to run the build tree's groff.
+# Use this in rules to run the build tree's groff.
#
# It includes flags to locate its tmac and device/font description
# directories and to produce verbose diagnostics in the event of syntax
_______________________________________________
groff-commit mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/groff-commit