gbranden pushed a commit to branch master
in repository groff.
commit 099a55fbe2d39202a842c1609cf01eb19b436abb
Author: G. Branden Robinson <[email protected]>
AuthorDate: Tue Feb 3 05:47:42 2026 -0600
sboxes.am: De-parameterize document creation.
* contrib/sboxes/sboxes.am: Populate `sboxespdfdocdir` and
`nodist_sboxesotherdoc_DATA` unconditionally. We now build the
"msboxes.pdf" document regardless of gropdf(1)'s service level (see
its man page).
(uninstall_sboxes): De-parameterize uninstallation of the document as
well (attempting to remove the installation's "examples" directory,
which becomes empty if the document was the last file to be removed
from it in make's nondeterminstic ordering).
---
contrib/sboxes/ChangeLog | 12 ++++++++++++
contrib/sboxes/sboxes.am | 5 +----
2 files changed, 13 insertions(+), 4 deletions(-)
diff --git a/contrib/sboxes/ChangeLog b/contrib/sboxes/ChangeLog
index 8514b94ef..8a0a984eb 100644
--- a/contrib/sboxes/ChangeLog
+++ b/contrib/sboxes/ChangeLog
@@ -1,3 +1,15 @@
+2026-02-03 G. Branden Robinson <[email protected]>
+
+ * sboxes.am: Populate `sboxespdfdocdir` and
+ `nodist_sboxesotherdoc_DATA` unconditionally. We now build the
+ "msboxes.pdf" document regardless of gropdf(1)'s service level
+ {see its man page}.
+ (uninstall_sboxes): De-parameterize uninstallation of the
+ document as well (attempting to remove the installation's
+ "examples" directory, which becomes empty if the document was
+ the last file to be removed from it in make's nondeterminstic
+ ordering).
+
2026-01-20 Bruno Haible <[email protected]>
* sboxes.am: Fix portability problem involving BSD Make. Define
diff --git a/contrib/sboxes/sboxes.am b/contrib/sboxes/sboxes.am
index d88b2a85d..d53c971ee 100644
--- a/contrib/sboxes/sboxes.am
+++ b/contrib/sboxes/sboxes.am
@@ -41,10 +41,8 @@ SBOXES_EXAMPLEFILES = $(sboxes_srcdir)/msboxes.ms.in
sboxesotherdocdir = $(docdir)
nodist_sboxesotherdoc_DATA = $(sboxes_builddir)/msboxes.ms
-if USE_GROPDF
sboxespdfdocdir = $(pdfdocdir)
nodist_sboxespdfdoc_DATA = $(sboxes_builddir)/msboxes.pdf
-endif
MOSTLYCLEANFILES += msboxes.ms \
$(nodist_sboxesotherdoc_DATA) \
@@ -72,9 +70,8 @@ uninstall_sboxes:
if test -d $(DESTDIR)$(exampledir)/sboxes; then \
rmdir $(DESTDIR)$(exampledir)/sboxes; \
fi
-if USE_GROPDF
-rmdir $(DESTDIR)$(sboxespdfdocdir)
-endif
+
# Local Variables:
# fill-column: 72
_______________________________________________
groff-commit mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/groff-commit