gbranden pushed a commit to branch master
in repository groff.
commit d5e933a41c8e0a08f7a74a58271105cf6a5adcdd
Author: G. Branden Robinson <[email protected]>
AuthorDate: Thu Aug 22 13:25:48 2024 -0500
[mom]: Format in-tree documents with `-b -wall`.
* contrib/mom/om.am: Add `-b` and `-wall` options to `MOMPDFMOM` macro
so as to run the formatter with these flags. mom(7) is not
`-ww`-clean, but is _nearly_ `-wall`-clean, and backtraces are
helpful.
---
contrib/mom/ChangeLog | 7 +++++++
contrib/mom/mom.am | 5 +++--
2 files changed, 10 insertions(+), 2 deletions(-)
diff --git a/contrib/mom/ChangeLog b/contrib/mom/ChangeLog
index 22e08631e..70700f2c2 100644
--- a/contrib/mom/ChangeLog
+++ b/contrib/mom/ChangeLog
@@ -1,3 +1,10 @@
+2024-08-22 G. Branden Robinson <[email protected]>
+
+ * om.am: Add `-b` and `-wall` options to `MOMPDFMOM` macro so as
+ to run the formatter with these flags. mom(7) is not
+ `-ww`-clean, but is _nearly_ `-wall`-clean, and backtraces are
+ helpful.
+
2024-04-12 Deri James <[email protected]>
* om.tmac: Switch to using Branden's linear search so that we
diff --git a/contrib/mom/mom.am b/contrib/mom/mom.am
index bbc325564..3156f8ea6 100644
--- a/contrib/mom/mom.am
+++ b/contrib/mom/mom.am
@@ -1,4 +1,4 @@
-# Copyright (C) 2002-2020 Free Software Foundation, Inc.
+# Copyright (C) 2002-2024 Free Software Foundation, Inc.
# Written by Werner Lemberg <[email protected]>
# Automake migration by Bertrand Garrigues
# <[email protected]>
@@ -27,7 +27,8 @@ MOMPDFMOM = \
GROFF_COMMAND_PREFIX= \
GROFF_BIN_PATH="$(GROFF_BIN_PATH)" \
PDFMOM_BIN_PATH="$(top_builddir)" \
- $(PDFMOMBIN) $(FFLAG) $(MFLAG) -M$(mom_srcdir) -K utf8 -p -e -t
+ $(PDFMOMBIN) $(FFLAG) $(MFLAG) -M$(mom_srcdir) -K utf8 -p -e -t \
+ -wall -b
man7_MANS += contrib/mom/groff_mom.7
_______________________________________________
Groff-commit mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/groff-commit