[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[groff] 06/45: doc/doc.am: Separate concerns better.
From: |
G. Branden Robinson |
Subject: |
[groff] 06/45: doc/doc.am: Separate concerns better. |
Date: |
Thu, 20 Jan 2022 10:17:48 -0500 (EST) |
gbranden pushed a commit to branch master
in repository groff.
commit d7dec349c235467b9c05b292d8d70ff2a2444b58
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
AuthorDate: Fri Jan 14 11:32:06 2022 +1100
doc/doc.am: Separate concerns better.
* doc/doc.am: Separate concerns better; stop re-generating plain text
and HTML documents when the 'doc' target is updated; these are already
handled by the 'build_infodoc' target.
(build_infodoc): Use existing phony targets for plain text and HTML
output files instead of repeating file name literals.
(doc_all): Remove those same two phony targets from this one's
dependencies.
---
ChangeLog | 10 ++++++++++
doc/doc.am | 4 ++--
2 files changed, 12 insertions(+), 2 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index c37d4d25..50bb38dc 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,13 @@
+2022-01-14 G. Branden Robinson <g.branden.robinson@gmail.com>
+
+ * doc/doc.am: Separate concerns better; stop re-generating plain
+ text and HTML documents when the 'doc' target is updated; these
+ are already handled by the 'build_infodoc' target.
+ (build_infodoc): Use existing phony targets for plain text and
+ HTML output files instead of repeating filename literals.
+ (doc_all): Remove those same two phony targets from this one's
+ dependencies.
+
2022-01-14 G. Branden Robinson <g.branden.robinson@gmail.com>
* src/roff/troff/input.cpp: Rename `eoi_macro_name` to
diff --git a/doc/doc.am b/doc/doc.am
index 83c15812..359c85f7 100644
--- a/doc/doc.am
+++ b/doc/doc.am
@@ -355,7 +355,7 @@ all: build_infodoc
EXTRA_DIST += doc/groff.texi doc/fdl.texi
# Define targets to generate GNU Info, plain text, and HTML from .texi.
-build_infodoc: doc/groff.info doc/groff.txt doc/groff.html
+build_infodoc: doc/groff.info doc_txt doc_html
EXTRA_DIST += doc/groff.info
MAINTAINERCLEANFILES += doc/groff.info
@@ -445,7 +445,7 @@ else
endif
doc: doc_all
-doc_all: doc_txt dvi pdf html
+doc_all: dvi pdf
doc_txt: doc/groff.txt
dvi: doc_dvi
doc_dvi: doc/groff.dvi
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [groff] 06/45: doc/doc.am: Separate concerns better.,
G. Branden Robinson <=