gbranden pushed a commit to branch master in repository groff. commit 1532a5584db7bd0000703b0e49769ebbdd6993c1 Author: G. Branden Robinson <g.branden.robin...@gmail.com> AuthorDate: Wed Feb 26 05:03:44 2025 -0600
doc/doc.am: Slightly refactor. * doc/doc.am: In `DOC_PDFMOM` macro, use `PDFMOMBIN` macro defined in "Makefile.am" to locate `pdfmom` executable; as with `GROFFBIN`, that's what it's there for. --- ChangeLog | 6 ++++++ doc/doc.am | 4 +++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 5eb4dc56e..adbd4ee0f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2025-02-26 G. Branden Robinson <g.branden.robin...@gmail.com> + + * doc/doc.am: In `DOC_PDFMOM` macro, use `PDFMOMBIN` macro + defined in "Makefile.am" to locate `pdfmom` executable; as with + `GROFFBIN`, that's what it's there for. + 2025-02-26 G. Branden Robinson <g.branden.robin...@gmail.com> * src/roff/troff/node.{h,cpp}: Improve `const`-correctness of diff --git a/doc/doc.am b/doc/doc.am index a4f0df6cf..a1c4ad635 100644 --- a/doc/doc.am +++ b/doc/doc.am @@ -33,6 +33,8 @@ DOC_SED = $(SED) \ # It includes flags to locate its tmac and device/font description # directories and to produce verbose diagnostics in the event of syntax # or formatting problems. +# +# `-M $(doc_srcdir)` is so that grn can find "grnexampl.g". DOC_GROFF = \ GROFF_COMMAND_PREFIX= \ GROFF_BIN_PATH="$(GROFF_BIN_PATH)" \ @@ -41,7 +43,7 @@ DOC_GROFF = \ DOC_PDFMOM = \ GROFF_COMMAND_PREFIX= \ GROFF_BIN_PATH="$(GROFF_BIN_PATH)" \ - $(GROFF_BIN_PATH)/pdfmom -M $(doc_srcdir) $(MFLAG) $(FFLAG) -ww -b --roff + $(PDFMOMBIN) $(MFLAG) $(FFLAG) -ww -b --roff # This image file is used by several documents in the groff source tree. DOC_GNU_EPS = doc/gnu.eps _______________________________________________ groff-commit mailing list groff-commit@gnu.org https://lists.gnu.org/mailman/listinfo/groff-commit