gbranden pushed a commit to branch master
in repository groff.
commit 0e3de58dcef947a757f9606fbd42bd2c4c5b713a
Author: G. Branden Robinson <[email protected]>
AuthorDate: Mon Oct 5 22:32:33 2026 -0500
doc/doc.am: Tidy up.
* doc/doc.am: Define `DOC_LINE_LAYOUT_ROFF` macro before appendment to
`EXTRA_DIST` macro so that we can interpolate it there.
---
ChangeLog | 6 ++++++
doc/doc.am | 8 ++++----
2 files changed, 10 insertions(+), 4 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 16bc6f8f6..afa3f86a0 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2026-10-05 G. Branden Robinson <[email protected]>
+
+ * doc/doc.am: Tidy up. Define `DOC_LINE_LAYOUT_ROFF` macro
+ before appendment to `EXTRA_DIST` macro so that we can
+ interpolate it there.
+
2026-10-05 Álvar Ibeas <[email protected]>
* man/groff_char(7)
diff --git a/doc/doc.am b/doc/doc.am
index 54e11e2aa..bbb099f6a 100644
--- a/doc/doc.am
+++ b/doc/doc.am
@@ -70,6 +70,9 @@ DOC_PDFMOM = \
GROFF_BIN_PATH="$(GROFF_BIN_PATH)" \
$(PDFMOMBIN) $(MFLAG) $(FFLAG) -ww -b $(pdfmomoption) --roff
+# We avoid GNUish use of `$<` in target rule, so define macro to DRY.
+DOC_LINE_LAYOUT_ROFF = doc/line-layout.roff
+
# These images are used by several documents in the groff source tree.
DOC_GNU_EPS = doc/gnu.eps
DOC_GNU_PNG = doc/gnu.png
@@ -882,7 +885,7 @@ EXTRA_DIST += \
doc/gnu.xpm \
$(DOC_GNU_EPS) \
$(DOC_GNU_PNG) \
- doc/line-layout.roff \
+ $(DOC_LINE_LAYOUT_ROFF) \
$(DOC_LINE_LAYOUT_EPS) \
$(DOC_LINE_LAYOUT_PNG)
@@ -922,9 +925,6 @@ $(DOC_GNU_PNG): doc/gnu.xpm
fi; \
xpmtoppm $(top_srcdir)/doc/gnu.xpm | pnmtopng >$@
-# We avoid GNUish use of `$<` in target rule, so define macro to DRY.
-DOC_LINE_LAYOUT_ROFF = doc/line-layout.roff
-
# We kludge in a copy of `DOC_LINE_LAYOUT_ROFF` because we GNU and BSD
# Makes differ in `VPATH` handling such that we can't define that macro
# to interpolate `doc_srcdir`. In GNU Make, prerequisite satisfaction
_______________________________________________
groff-commit mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/groff-commit