[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[groff] 03/06: doc/doc.am: Rationalize dependencies.
From: |
G. Branden Robinson |
Subject: |
[groff] 03/06: doc/doc.am: Rationalize dependencies. |
Date: |
Mon, 4 Apr 2022 14:34:59 -0400 (EDT) |
gbranden pushed a commit to branch master
in repository groff.
commit 542a4dda6440f82ccd12191eb8d56e8d49ceb0ba
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
AuthorDate: Wed Mar 23 18:29:06 2022 +1100
doc/doc.am: Rationalize dependencies.
* doc/doc.am: Rationalize dependencies. Drop dependency of
`PROCESSEDEXAMPLEFILES` and `PROCESSEDDOCFILES` on expansion of
`hdtbltmac_DATA`, because nothing in this directory uses the hdtbl
package. Move dep of same expansions on "gnu.eps" to
"doc/webpage.html", which actually uses it. Put the numerous
dependencies of "doc/pic.html" and "doc/webpage.html" in a parallel
ordering so that they are easier for humans to evaluate. These
targets' dependencies on `bin_PROGRAMS` and `prefixexecbin_PROGRAMS`
is overkill and should be reviewed at a later date.
Thanks to Ingo Schwarze for the code review.
---
ChangeLog | 13 +++++++++++++
doc/doc.am | 8 +++++---
2 files changed, 18 insertions(+), 3 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 125ac8d9..56e5e097 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,16 @@
+2022-04-01 G. Branden Robinson <g.branden.robinson@gmail.com>
+
+ * doc/doc.am: Rationalize dependencies. Drop dependency of
+ `PROCESSEDEXAMPLEFILES` and `PROCESSEDDOCFILES` on expansion of
+ `hdtbltmac_DATA`, because nothing in this directory uses the
+ hdtbl package. Move dep of same expansions on "gnu.eps" to
+ "doc/webpage.html", which actually uses it. Put the numerous
+ dependencies of "doc/pic.html" and "doc/webpage.html" in a
+ parallel ordering so that they are easier for humans to
+ evaluate. These targets' dependencies on `bin_PROGRAMS` and
+ `prefixexecbin_PROGRAMS` is overkill and should be reviewed at a
+ later date.
+
2022-04-03 G. Branden Robinson <g.branden.robinson@gmail.com>
* doc/doc.am: Refactor use of target and suffix rules.
diff --git a/doc/doc.am b/doc/doc.am
index efe2c6be..f1cb240f 100644
--- a/doc/doc.am
+++ b/doc/doc.am
@@ -316,14 +316,14 @@ doc/webpage.ps: $(doc_srcdir)/webpage.ms
$(PROCESSEDEXAMPLEFILES) $(PROCESSEDDOCFILES): \
$(bin_PROGRAMS) \
$(prefixexecbin_PROGRAMS) \
- $(hdtbltmac_DATA) \
$(dist_tmac_DATA) $(nodist_tmac_DATA)
doc/pic.html: tmac/www.tmac
doc/pic.html: $(bin_PROGRAMS) $(prefixexecbin_PROGRAMS)
doc/pic.html: doc/examples.stamp
doc/pic.html: $(dist_devpsfont_DATA) $(nodist_devpsfont_DATA)
-doc/pic.html: $(doc_srcdir)/pic.ms $(devhtmlfont_DATA)
+doc/pic.html: $(devhtmlfont_DATA)
+doc/pic.html: $(doc_srcdir)/pic.ms
$(GROFF_V)$(MKDIR_P) $(doc_builddir) \
&& cd $(doc_builddir) \
&& nlinit=`echo 'nl="'; echo '"'`; eval "$$nlinit"; \
@@ -338,9 +338,11 @@ doc/examples.stamp: doc/groff.css
cp $(doc_srcdir)/groff.css $(doc_builddir)
$(AM_V_at)echo timestamp > $@
+doc/webpage.html: tmac/www.tmac
doc/webpage.html: $(bin_PROGRAMS) $(prefixexecbin_PROGRAMS)
-doc/webpage.html: doc/examples.stamp $(devhtmlfont_DATA)
+doc/webpage.html: doc/examples.stamp
doc/webpage.html: $(dist_devpsfont_DATA) $(nodist_devpsfont_DATA)
+doc/webpage.html: $(devhtmlfont_DATA)
doc/webpage.html: \
$(doc_srcdir)/webpage.ms \
$(DOC_GNU_EPS) \
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [groff] 03/06: doc/doc.am: Rationalize dependencies.,
G. Branden Robinson <=