gbranden pushed a commit to branch master
in repository groff.

commit 471b303f2b8b295f465e6947d081459635acd289
Author: G. Branden Robinson <[email protected]>
AuthorDate: Sat Feb 21 22:41:38 2026 -0600

    doc/doc.am: Fix generation of "webpage.html".
    
    ...in some build scenarios.
    
    * doc/doc.am (doc/webpage.html): Also pass `$(doc_builddir)` as an `-I`
      option argument to groff, just as we do in the "doc/webpage.ps"
      target.
    
    Thanks to Bjarni Ingi Gislason for the report in <https://
    lists.gnu.org/archive/html/groff/2026-02/msg00081.html> and Deri James
    for the analysis in <https://lists.gnu.org/archive/html/groff/2026-02/\
    msg00087.html>.  My commit c81db845da, 2022-04-06 introduced a latent
    bug that my commit e9da162af8, 2026-02-07 exposed.
---
 ChangeLog  | 13 +++++++++++++
 doc/doc.am |  6 +++---
 2 files changed, 16 insertions(+), 3 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index cb455d137..99303335d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,16 @@
+2026-02-21  G. Branden Robinson <[email protected]>
+
+       * doc/doc.am (doc/webpage.html): Also pass `$(doc_builddir)` as
+       an `-I` option argument to groff, just as we do in the
+       "doc/webpage.ps" target.
+
+       Thanks to Bjarni Ingi Gislason for the report in <https://\
+       lists.gnu.org/archive/html/groff/2026-02/msg00081.html> and Deri
+       James for the analysis in <https://lists.gnu.org/archive/html/\
+       groff/2026-02/msg00087.html>.  My commit c81db845da, 2022-04-06
+       introduced a latent bug that my commit e9da162af8, 2026-02-07
+       exposed.
+
 2026-02-20  G. Branden Robinson <[email protected]>
 
        [gropdf]: Regression-test Savannah #68077.
diff --git a/doc/doc.am b/doc/doc.am
index d5a0c9eaf..de9f90581 100644
--- a/doc/doc.am
+++ b/doc/doc.am
@@ -416,9 +416,9 @@ doc/webpage.html: $(DOC_GNU_EPS) tmac/www.tmac tbl
 doc/webpage.html: $(doc_srcdir)/groff.css
 doc/webpage.html: $(doc_srcdir)/webpage.ms $(TMAC_PACKAGE_MS)
        $(GROFF_V)$(MKDIR_P) $(doc_builddir) \
-       && $(DOC_GROFF) -t -I $(doc_srcdir) -P-jdoc/webpage -P-nrb \
-         -P-Iwebpage -P-Ddoc/img -Thtml -ms $(doc_srcdir)/webpage.ms \
-         > [email protected] \
+       && $(DOC_GROFF) -t -I $(doc_srcdir) -I $(doc_builddir) \
+         -P-jdoc/webpage -P-nrb -P-Iwebpage -P-Ddoc/img -Thtml -ms \
+         $(doc_srcdir)/webpage.ms > [email protected] \
          && mv [email protected] $@
 
 # We remove groff.css only from an out-of-source build tree.

_______________________________________________
groff-commit mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/groff-commit

Reply via email to