I formatted this section of code poorly when I added documentation. Even
with '-t @finalout' to remove the black bars on overfilled hboxes it
obviously extends past the margin. Committed the attached patch so it
isn't ugly anymore.

Collin

>From 17967b5128a3747a35fa3e7bbc33435f5c1dedc2 Mon Sep 17 00:00:00 2001
From: Collin Funk <collin.fu...@gmail.com>
Date: Fri, 19 Jul 2024 19:24:17 -0700
Subject: [PATCH] gitlog-to-changelog: Improve output of pdf documentation.

* doc/gitlog-to-changelog.texi (gitlog-to-changelog): Reformat code to
use shorter lines and avoid overfull hboxes.
---
 ChangeLog                    | 6 ++++++
 doc/gitlog-to-changelog.texi | 8 ++++----
 2 files changed, 10 insertions(+), 4 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index c5abb91e45..50353eb63b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2024-07-19  Collin Funk  <collin.fu...@gmail.com>
+
+	gitlog-to-changelog: Improve output of pdf documentation.
+	* doc/gitlog-to-changelog.texi (gitlog-to-changelog): Reformat code to
+	use shorter lines and avoid overfull hboxes.
+
 2024-07-19  Bruno Haible  <br...@clisp.org>
 
 	doc: Reference a newer ISO C23 draft.
diff --git a/doc/gitlog-to-changelog.texi b/doc/gitlog-to-changelog.texi
index 6f1cabdcaf..8d39073295 100644
--- a/doc/gitlog-to-changelog.texi
+++ b/doc/gitlog-to-changelog.texi
@@ -51,10 +51,10 @@ @node gitlog-to-changelog
 dist-hook: gen-ChangeLog
 .PHONY: gen-ChangeLog
 gen-ChangeLog:
-        $(AM_V_GEN)if test -e .git; then                                 \
-          $(top_srcdir)/build-aux/gitlog-to-changelog --commit-timezone  \
-            > $(distdir)/ChangeLog.tmp &&                                \
-          mv -f $(distdir)/ChangeLog.tmp $(distdir)/ChangeLog;           \
+        $(AM_V_GEN)if test -e .git; then                       \
+          $(top_srcdir)/build-aux/gitlog-to-changelog          \
+            --commit-timezone > $(distdir)/ChangeLog.tmp &&    \
+          mv -f $(distdir)/ChangeLog.tmp $(distdir)/ChangeLog; \
         fi
 @end example
 
-- 
2.45.2

Reply via email to