gbranden pushed a commit to branch master
in repository groff.
commit 4a4ef28a4e1688ace61021c3bfbc4edb2de84165
Author: G. Branden Robinson <[email protected]>
AuthorDate: Thu Jul 2 13:00:34 2026 -0500
doc/doc.am: Fix target prequisites.
* doc/doc.am (doc/Groff-PDF-Features.pdf): Add `$(DOC_GNU_PNG)` and
`font/devpdf/stamp` as prerequisites for this target. Drop duplicate
`tbl` prerequisite.
(doc/webpage.html): `$(DOC_GNU_PNG)` should be our prerequisite, not
`$(DOC_GNU_EPS)`.
---
ChangeLog | 10 ++++++++++
doc/doc.am | 9 ++++++---
2 files changed, 16 insertions(+), 3 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 86345ee28..0f7ae4255 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,13 @@
+2026-07-02 G. Branden Robinson <[email protected]>
+
+ * doc/doc.am (doc/Groff-PDF-Features.pdf): Add `$(DOC_GNU_PNG)`
+ and `font/devpdf/stamp` as prerequisites for this target. Drop
+ duplicate `tbl` prerequisite.
+ (doc/webpage.html): `$(DOC_GNU_PNG)` should be our prerequisite,
+ not `$(DOC_GNU_EPS)`.
+ ($(GROFF_DVI)): Declare `$(DOC_GNU_EPS)` as prerequisite.
+ ($(GROFF_PDF)): Declare `$(DOC_GNU_PNG)` as prerequisite.
+
2026-07-02 G. Branden Robinson <[email protected]>
* doc/txi-en.tex: Delete.
diff --git a/doc/doc.am b/doc/doc.am
index c38bc911e..a7bf50e41 100644
--- a/doc/doc.am
+++ b/doc/doc.am
@@ -386,8 +386,8 @@ doc/pic.pdf: $(doc_srcdir)/pic.ms $(TMAC_PACKAGE_MS) eqn
pic tbl
$(GROFF_V)$(MKDIR_P) `dirname $@` \
&& $(DOC_GROFF) -pet -Tpdf -ms -rPDFFEAT=1 $(doc_srcdir)/pic.ms >$@
-doc/Groff-PDF-Features.pdf: $(doc_srcdir)/Groff-PDF-Features.ms tbl
doc/gnu.eps \
- $(TMAC_PACKAGE_MS) eqn pic tbl pdfmom
+doc/Groff-PDF-Features.pdf: $(doc_srcdir)/Groff-PDF-Features.ms \
+ $(TMAC_PACKAGE_MS) eqn pic tbl pdfmom $(DOC_GNU_PNG) font/devpdf/stamp
$(GROFF_V)$(MKDIR_P) `dirname $@` \
&& $(DOC_PDFMOM) --roff -tU -P-pa4 -rPDFFEAT=1 -ms -msboxes \
-I $(doc_builddir) -I $(doc_srcdir) $(doc_srcdir)/Groff-PDF-Features.ms
>$@
@@ -418,7 +418,7 @@ 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_EPS) tmac/www.tmac tbl
+doc/webpage.html: $(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) \
@@ -573,6 +573,9 @@ GROFF_DVI = doc/groff.dvi
GROFF_PDF = doc/groff.pdf
endif # USE_TEX
+$(GROFF_DVI): $(DOC_GNU_EPS)
+$(GROFF_PDF): $(DOC_GNU_PNG)
+
all: $(GROFF_INFO) $(GROFF_TXT) $(GROFF_HTML) $(GROFF_DVI) $(GROFF_PDF)
# Distribute the manual in source form as well.
_______________________________________________
groff-commit mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/groff-commit