gbranden pushed a commit to branch master
in repository groff.
commit f6c232c5ffba690c5f02451dd18e56fc95452b89
Author: G. Branden Robinson <[email protected]>
AuthorDate: Tue Jul 1 01:33:51 2025 -0500
doc/doc.am: Fix build failure if `!HAVE_MAKEINFO`.
* doc/doc.am ($(GROFF_INFO)) [HAVE_MAKEINFO]: Make target creation
depend on `HAVE_MAKEINFO` configuration variable.
Continues commit 819c539061, 25 November.
---
ChangeLog | 5 +++++
doc/doc.am | 4 +++-
2 files changed, 8 insertions(+), 1 deletion(-)
diff --git a/ChangeLog b/ChangeLog
index 47f0cd84e..b26502a5c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2025-07-01 G. Branden Robinson <[email protected]>
+
+ * doc/doc.am ($(GROFF_INFO)) [HAVE_MAKEINFO]: Make target
+ creation depend on `HAVE_MAKEINFO` configuration variable.
+
2025-06-30 G. Branden Robinson <[email protected]>
* tmac/tty.tmac: Fix misspelled special character identifiers
diff --git a/doc/doc.am b/doc/doc.am
index 98a44c978..3983edf03 100644
--- a/doc/doc.am
+++ b/doc/doc.am
@@ -571,12 +571,14 @@ doc/groff.texi: $(top_srcdir)/doc/groff.texi.in
EXTRA_DIST += doc/groff.info
MAINTAINERCLEANFILES += doc/groff.info
-doc/groff.info: doc/groff.texi
+if HAVE_MAKEINFO
+$(GROFF_INFO): doc/groff.texi
$(AM_V_at)$(MKDIR_P) $(doc_builddir)
$(AM_V_GEN)LANG=C \
LC_ALL=C \
$(MAKEINFO) -o doc/groff.info --enable-encoding \
-I $(doc_srcdir) $(doc_builddir)/groff.texi
+endif
# Distribute the Info files.
dist-hook: dist-info-bits
_______________________________________________
groff-commit mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/groff-commit