gbranden pushed a commit to branch master
in repository groff.

commit aa8e0c183ce733ea070c47508a4e00eb9dca628c
Author: G. Branden Robinson <[email protected]>
AuthorDate: Fri Jul 17 10:06:42 2026 -0500

    doc/doc.am: Fix Savannah #68525.
    
    * doc/doc.am (doc/webpage.html): Restore `$(DOC_GNU_EPS)` as
      prerequisite and explain why.
    
    Fixes <https://savannah.gnu.org/bugs/?68525>.  Problem introduced by me
    in commit 4a4ef28a4e, 2 July.  Thanks to Dave Kemper for the report.
---
 ChangeLog  | 9 +++++++++
 doc/doc.am | 7 ++++++-
 2 files changed, 15 insertions(+), 1 deletion(-)

diff --git a/ChangeLog b/ChangeLog
index 8e056b694..7c6c18765 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2026-07-16  G. Branden Robinson <[email protected]>
+
+       * doc/doc.am (doc/webpage.html): Restore `$(DOC_GNU_EPS)` as
+       prerequisite and explain why.
+
+       Fixes <https://savannah.gnu.org/bugs/?68525>.  Problem
+       introduced by me in commit 4a4ef28a4e, 2 July.  Thanks to Dave
+       Kemper for the report.
+
 2026-07-16  G. Branden Robinson <[email protected]>
 
        * src/preproc/html/pre-html.cpp (main): Make crappy suggestion
diff --git a/doc/doc.am b/doc/doc.am
index fa287cc27..c8c329d7f 100644
--- a/doc/doc.am
+++ b/doc/doc.am
@@ -423,7 +423,12 @@ doc/pic.html: $(doc_srcdir)/pic.ms $(TMAC_PACKAGE_MS)
        $(AM_V_at)mv [email protected] $@
 
 # XXX: See XXX comment before "pic.html" target above.
-doc/webpage.html: $(DOC_GNU_PNG) tmac/www.tmac tbl
+#
+# Note: we depend on `$(DOC_GNU_EPS)` because the document uses the
+# `PSPIC` macro to inline the image, and `PSPIC` insists on getting an
+# EPS version of the image to compute its bounding box even if that
+# image format does not itself end up in the document.
+doc/webpage.html: $(DOC_GNU_EPS) $(DOC_GNU_PNG) 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) \

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

Reply via email to