[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[groff] 21/105: [doc]: Fix Savannah #62541 (1/4).
From: |
G. Branden Robinson |
Subject: |
[groff] 21/105: [doc]: Fix Savannah #62541 (1/4). |
Date: |
Mon, 22 May 2023 03:38:57 -0400 (EDT) |
gbranden pushed a commit to branch branden-2023-05-22
in repository groff.
commit 72e0e394dd44e4029cb2851a6aab9526b8e3b081
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
AuthorDate: Mon Apr 3 20:05:17 2023 -0500
[doc]: Fix Savannah #62541 (1/4).
[doc]: Add document deps on the "me" package.
* tmac/tmac.am (TMAC_PACKAGE_ME): Define new macro comprising the files
of the "me" package.
* doc/doc.am (doc/grnexmpl.ps, doc/meintro.ps, doc/meintro_fr.ps)
(doc/meref.ps): Add dependency on new macro.
Fixes <https://savannah.gnu.org/bugs/?62541> (1/4).
---
ChangeLog | 11 +++++++++++
doc/doc.am | 21 ++++++++++++---------
tmac/tmac.am | 1 +
3 files changed, 24 insertions(+), 9 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 0122d5886..73c978c97 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,14 @@
+2023-04-03 G. Branden Robinson <g.branden.robinson@gmail.com>
+
+ [doc]: Add document dependencies on the "me" package.
+
+ * tmac/tmac.am (TMAC_PACKAGE_ME): Define new macro comprising
+ the files of the "me" package.
+ * doc/doc.am (doc/grnexmpl.ps, doc/meintro.ps)
+ (doc/meintro_fr.ps, doc/meref.ps): Add dependency on new macro.
+
+ Fixes <https://savannah.gnu.org/bugs/?62541> (1/4).
+
2023-04-03 G. Branden Robinson <g.branden.robinson@gmail.com>
[build]: Install PDF documents better. Ship only one copy of
diff --git a/doc/doc.am b/doc/doc.am
index 3b83a5b49..8ef9aabf7 100644
--- a/doc/doc.am
+++ b/doc/doc.am
@@ -274,7 +274,7 @@ doc/groff-man-pages.utf8.txt: $(GROFF_MAN_PAGES_ALL) eqn
pic tbl \
$(tmac_srcdir)/en.tmac $(GROFF_MAN_PAGES3) > $@
doc/grnexmpl.ps: $(doc_srcdir)/grnexmpl.me $(doc_srcdir)/grnexmpl.g \
- grn eqn
+ $(TMAC_PACKAGE_ME) grn eqn
$(GROFF_V)$(MKDIR_P) `dirname $@` \
&& $(DOC_GROFF) -Tps -ge -me $(doc_srcdir)/grnexmpl.me >$@
@@ -300,14 +300,14 @@ doc/grnexmpl.ps: $(doc_srcdir)/grnexmpl.me
$(doc_srcdir)/grnexmpl.g \
# special way that is explicitly not countenanced by POSIX.
#
# "The application shall ensure that the target portion is a valid
-# target name (see Target Rules) of the form .s2 or .s1.s2 (where .s1
-# and .s2 are suffixes that have been given as prerequisites of the
-# .SUFFIXES special target and s1 and s2 do not contain any <slash> or
-# <period> characters.) If there is only one <period> in the target,
-# it is a single-suffix inference rule. Targets with two periods are
-# double-suffix inference rules. Inference rules can have only one
-# target before the <colon>."
-# (POSIX Issue 8, make(1), "Inference Rules")
+# target name (see Target Rules, ...) of the form .s2 or .s1.s2 (where
+# .s1 and .s2 are suffixes that have been given as prerequisites of
+# the .SUFFIXES special target and s1 and s2 do not contain any
+# <slash> or <period> characters.) If there is only one <period> in
+# the target, it is a single-suffix inference rule. Targets with two
+# periods are double-suffix inference rules. Inference rules can have
+# only one target before the <colon>."
+# (POSIX Issue 8 Draft 3, make(1), "Inference Rules")
#
# A double-suffix rule won't work in an obvious way because its
# semantics are that the suffix is replaced, not removed. You have to
@@ -328,6 +328,9 @@ doc/grnexmpl.ps: $(doc_srcdir)/grnexmpl.me
$(doc_srcdir)/grnexmpl.g \
# implementors to agree. -- GBR
.PRECIOUS: $(GENERATEDDOCFILES)
SUFFIXES += .me.in .me
+
+doc/meintro.ps doc/meintro_fr.ps doc/meref.ps: $(TMAC_PACKAGE_ME)
+
.me.in.me:
$(GROFF_V)$(MKDIR_P) `dirname $@` \
&& $(DOC_SED) $< >$@
diff --git a/tmac/tmac.am b/tmac/tmac.am
index 62b03ffa4..0d0f27b23 100644
--- a/tmac/tmac.am
+++ b/tmac/tmac.am
@@ -377,6 +377,7 @@ uninstall_tmac_hook:
TMAC_PACKAGE_MAN = tmac/an.tmac tmac/an-ext.tmac
TMAC_PACKAGE_MDOC = tmac/doc.tmac tmac/mdoc/doc-common \
tmac/mdoc/doc-ditroff tmac/mdoc/doc-nroff tmac/mdoc/doc-syms
+TMAC_PACKAGE_ME = tmac/e.tmac
# Local Variables:
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [groff] 21/105: [doc]: Fix Savannah #62541 (1/4).,
G. Branden Robinson <=