groff-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[groff] 02/02: doc/doc.am: Add new macro `PROCESSEDDOCFILES_PS`.


From: G. Branden Robinson
Subject: [groff] 02/02: doc/doc.am: Add new macro `PROCESSEDDOCFILES_PS`.
Date: Sat, 26 Mar 2022 06:36:45 -0400 (EDT)

gbranden pushed a commit to branch master
in repository groff.

commit 446c4f0fedf83004647afcf785c3d975e3c36373
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
AuthorDate: Fri Mar 25 23:21:12 2022 +1100

    doc/doc.am: Add new macro `PROCESSEDDOCFILES_PS`.
    
    * doc/doc.am: Add new macro `PROCESSEDDOCFILES_PS` to isolate names of
      targets in PostScript format.  Expand this macro in definition of
      `PROCESSEDDOCFILES` and use it to move PostScript font description
      file dependencies of the latter and `PROCESSEDEXAMPLEFILES` to the
      former.  (At present, the dependency might seem superfluous, since
      those files are in the source distribution, but it's conceivable that
      in the near future, they will be produced at build time from Adobe
      font metric files; see font/devps/generate/Makefile).  The "pic.html"
      and "webpage.html" targets already had such a dependency because of
      the way grohtml (pre-grohtml) works.
---
 ChangeLog  | 14 ++++++++++++++
 doc/doc.am | 13 ++++++++-----
 2 files changed, 22 insertions(+), 5 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index c1f10712..16d232ca 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -2,6 +2,20 @@
 
        * INSTALL.extra: Add a section on uninstalling.
 
+2022-03-23  G. Branden Robinson <g.branden.robinson@gmail.com>
+
+       * doc/doc.am: Add new macro `PROCESSEDDOCFILES_PS` to isolate
+       names of targets in PostScript format.  Expand this macro in
+       definition of `PROCESSEDDOCFILES` and use it to move PostScript
+       font description file dependencies of the latter and
+       `PROCESSEDEXAMPLEFILES` to the former.  (At present, the
+       dependency might seem superfluous, since those files are in the
+       source distribution, but it's conceivable that in the near
+       future, they will be produced at build time from Adobe font
+       metric files; see font/devps/generate/Makefile).  The "pic.html"
+       and "webpage.html" targets already had such a dependency because
+       of the way grohtml (pre-grohtml) works.
+
 2022-03-23  G. Branden Robinson <g.branden.robinson@gmail.com>
 
        * doc/doc.am: Create target rule for "doc/grnexampl.ps" instead
diff --git a/doc/doc.am b/doc/doc.am
index 336a4633..01f2dfa2 100644
--- a/doc/doc.am
+++ b/doc/doc.am
@@ -62,14 +62,15 @@ GENERATEDDOCFILES = \
   doc/meintro_fr.me \
   doc/meref.me
 # Files generated in the build tree
-PROCESSEDDOCFILES = \
-  doc/groff-man-pages.pdf \
-  doc/groff-man-pages.utf8.txt \
+PROCESSEDDOCFILES_PS = \
   doc/meref.ps \
   doc/meintro.ps \
   doc/meintro_fr.ps \
   doc/ms.ps \
   doc/pic.ps
+PROCESSEDDOCFILES = $(PROCESSEDDOCFILES_PS) \
+  doc/groff-man-pages.pdf \
+  doc/groff-man-pages.utf8.txt
 
 otherdocdir = $(docdir)
 dist_otherdoc_DATA = $(DOCFILES) $(GENERATEDDOCFILES)
@@ -224,7 +225,7 @@ GROFF_MAN_PAGES_ALL = $(GROFF_MAN_PAGES1) 
$(GROFF_MAN_PAGES2) \
 # This is a convenience target for (re-)generating all the man pages.
 man-all: $(GROFF_MAN_PAGES_ALL)
 
-# ...and for clearning them.
+# ...and for cleaning them.
 man-clean:
        $(RM) $(GROFF_MAN_PAGES_ALL)
 
@@ -252,6 +253,9 @@ doc/meref.me: $(doc_srcdir)/meref.me.in
        $(GROFF_V)$(MKDIR_P) `dirname $@` \
        && $(DOC_SED) $? >$@
 
+$(PROCESSEDDOCFILES_PS): \
+  $(dist_devpsfont_DATA) $(nodist_devpsfont_DATA)
+
 # The me(7) intro French translation gets its own target rule because it
 # needs the "-mfr" option.
 SUFFIXES += _fr.me _fr.ps
@@ -272,7 +276,6 @@ $(PROCESSEDEXAMPLEFILES) $(PROCESSEDDOCFILES): \
   $(bin_PROGRAMS) \
   $(prefixexecbin_PROGRAMS) \
   gnu.eps \
-  $(dist_devpsfont_DATA) $(nodist_devpsfont_DATA) \
   $(hdtbltmac_DATA) \
   $(dist_tmac_DATA) $(nodist_tmac_DATA)
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]