gbranden pushed a commit to branch branden-2023-07-05
in repository groff.
commit 4881ad9ea2abf96c23b055b0d72599e74dfd40bc
Author: G. Branden Robinson <[email protected]>
AuthorDate: Sat Apr 15 17:37:18 2023 -0500
[mom]: Ensure parent dir of test script exists.
* contrib/mom/mom.am (contrib/mom/examples/tests-mom.sh): Do it.
Fixes out-of-tree build failure on systems where the prerequisites for
running mom's test script are unavailable. Thanks to Bruno Haible for
the report.
---
contrib/mom/ChangeLog | 10 ++++++++++
contrib/mom/mom.am | 3 ++-
2 files changed, 12 insertions(+), 1 deletion(-)
diff --git a/contrib/mom/ChangeLog b/contrib/mom/ChangeLog
index 82e5dbb61..e0c0b63f2 100644
--- a/contrib/mom/ChangeLog
+++ b/contrib/mom/ChangeLog
@@ -1,3 +1,13 @@
+2023-04-15 G. Branden Robinson <[email protected]>
+
+ [mom]: Ensure parent directory of test script exists.
+
+ * mom.am (contrib/mom/examples/tests-mom.sh): Do it.
+
+ Fixes out-of-tree build failure on systems where the
+ prerequisites for running mom's test script are unavailable.
+ Thanks to Bruno Haible for the report.
+
2023-06-15
* om.tmac: Enclose all calls to \D't n' in \Z
diff --git a/contrib/mom/mom.am b/contrib/mom/mom.am
index 3bbbc9ae8..d67cb5d35 100644
--- a/contrib/mom/mom.am
+++ b/contrib/mom/mom.am
@@ -114,7 +114,8 @@ contrib/mom/examples/tests-mom.sh: \
$(top_builddir)/config.status \
$(MOMPROCESSEDEXAMPLEFILES) \
$(top_srcdir)/$(mom_test_template)
- $(AM_V_GEN)sed \
+ $(AM_V_GEN)$(MKDIR_P) `dirname $@` \
+ && sed \
-e "s|[@]abs_top_builddir[@]|$(abs_top_builddir)|g" \
-e "s|[@]groff_have_urw_fonts[@]|$(groff_have_urw_fonts)|g" \
$(top_srcdir)/$(mom_test_template) > $@ \
_______________________________________________
Groff-commit mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/groff-commit