gbranden pushed a commit to branch master
in repository groff.

commit 5489589887251285d65884681ca0ce0440848a80
Author: G. Branden Robinson <[email protected]>
AuthorDate: Sun Feb 1 13:35:28 2026 -0600

    doc/doc.am: De-parameterize PDF production.
    
    * doc/doc.am: De-parameterize production and installation of PDF
      documents created by groff.  We now build all such files regardless of
      gropdf(1)'s service level (see its man page).  Update population of
      `pdfmomoption`, `groffmanpagesoption`, `PROCESSEDDOCFILES_PDF`,
      `docpdfdocdir`, and `nodist_docpdfdoc_DATA` accordingly.
    
      ($(PROCESSEDDOCFILES_PDF)): Target now exists unconditionally.
    
      (mostlyclean_doc): Unconditionally delete these built files.
    
    Completes "action item E" from <https://lists.gnu.org/archive/html/\
    groff/2026-02/msg00004.html>.
---
 ChangeLog  | 14 ++++++++++++++
 doc/doc.am | 10 ----------
 2 files changed, 14 insertions(+), 10 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 3b223d344..3c2abb3df 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,17 @@
+2026-02-01  G. Branden Robinson <[email protected]>
+
+       * doc/doc.am: De-parameterize production and installation of PDF
+       documents created by groff.  We now build all such files
+       regardless of gropdf(1)'s service level (see its man page).
+       Update population of `pdfmomoption`, `groffmanpagesoption`,
+       `PROCESSEDDOCFILES_PDF`, `docpdfdocdir`, and
+       `nodist_docpdfdoc_DATA` accordingly.
+       ($(PROCESSEDDOCFILES_PDF)): Target now exists unconditionally.
+       (mostlyclean_doc): Unconditionally delete these built files.
+
+       Completes "action item E" from <https://lists.gnu.org/archive/\
+       html/groff/2026-02/msg00004.html>.
+
 2026-02-03  G. Branden Robinson <[email protected]>
 
        * configure.ac: Disclose identity of Ghostscript command
diff --git a/doc/doc.am b/doc/doc.am
index 1dc663b2e..db49fbf9d 100644
--- a/doc/doc.am
+++ b/doc/doc.am
@@ -49,11 +49,9 @@ DOC_GROFF = \
 # standard, (2) ensure consistent rendering of the document, and (3)
 # exercise this feature of gropdf.
 if HAVE_URW_FONTS
-if USE_GROPDF
 pdfmomoption = -P-W
 groffmanpagesoption = -P-e
 endif
-endif
 
 DOC_PDFMOM = \
   GROFF_COMMAND=test-groff \
@@ -87,11 +85,9 @@ if USE_GROHTML
 PROCESSEDDOCFILES_HTML = \
   doc/pic.html
 endif
-if USE_GROPDF
 PROCESSEDDOCFILES_PDF = \
   doc/automake.pdf \
   doc/groff-man-pages.pdf
-endif
 PROCESSEDDOCFILES_PS = \
   doc/meref.ps \
   doc/meintro.ps \
@@ -126,9 +122,7 @@ if USE_GROHTML
 $(PROCESSEDDOCFILES_HTML): $(PROCESSEDFILES_DEPS_HTML)
 endif
 $(PROCESSEDDOCFILES_PS): $(PROCESSEDFILES_DEPS_PS)
-if USE_GROPDF
 $(PROCESSEDDOCFILES_PDF): $(PROCESSEDFILES_DEPS_PDF)
-endif
 $(PROCESSEDDOCFILES_TXT): $(PROCESSEDFILES_DEPS_TXT)
 
 otherdocdir = $(docdir)
@@ -141,10 +135,8 @@ MOSTLYCLEANFILES += \
 EXTRA_DIST += $(DOCFILES_NOINST)
 
 EXTRA_DIST += doc/automake.mom
-if USE_GROPDF
 docpdfdocdir = $(pdfdocdir)
 nodist_docpdfdoc_DATA = $(PROCESSEDDOCFILES_PDF)
-endif
 doc/automake.pdf: doc/automake.mom pdfmom $(TMAC_PACKAGE_MOM)
 
 # GNU PIC html documentation, installed in $(htmldocdir)
@@ -469,9 +461,7 @@ if USE_GROHTML
          rmdir  $(doc_builddir)/img || :; \
        fi
 endif
-if USE_GROPDF
        $(RM) $(PROCESSEDDOCFILES_PDF)
-endif
 
 install-data-hook: install_doc_htmldoc
 install_doc_htmldoc:

_______________________________________________
groff-commit mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/groff-commit

Reply via email to