[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[no subject]
From: |
Gavin D. Smith |
Date: |
Tue, 6 Aug 2024 08:38:32 -0400 (EDT) |
branch: master
commit 7c9b05039331ce1d5d4e94f2ed3106d58de8de79
Author: Gavin Smith <gavinsmith0123@gmail.com>
AuthorDate: Tue Aug 6 13:38:17 2024 +0100
* doc/tp_api/Makefile.am (texi2any_internals.texi):
Add a comment.
---
ChangeLog | 5 +++++
doc/tp_api/Makefile.am | 2 ++
2 files changed, 7 insertions(+)
diff --git a/ChangeLog b/ChangeLog
index 003ff7eb85..7e699fa844 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2024-08-06 Gavin Smith <gavinsmith0123@gmail.com>
+
+ * doc/tp_api/Makefile.am (texi2any_internals.texi):
+ Add a comment.
+
2024-08-06 Bruno Haible <bruno@clisp.org>
Generate doc/tp_api/texi2any_internals.texi in the source directory.
diff --git a/doc/tp_api/Makefile.am b/doc/tp_api/Makefile.am
index 0bba24acd3..d7d2ef9933 100644
--- a/doc/tp_api/Makefile.am
+++ b/doc/tp_api/Makefile.am
@@ -82,6 +82,8 @@ texi2any_internals_dependencies = \
$(top_builddir)/tp/Texinfo/ModulePath.pm:
cd $(top_builddir)/tp && $(MAKE) $(AM_MAKEFLAGS) Texinfo/ModulePath.pm
+# This rule moves the new file to srcdir only if it has changed. This
+# prevents an error at "make distcheck" with a read-only srcdir.
texi2any_internals.texi: $(texi2any_internals_dependencies)
texi2any_internals_indices.texi texi2any_internals_preamble.texi
$(top_builddir)/tp/Texinfo/ModulePath.pm
if $(MAKEINFO_ENVIRONMENT) $(PERL) -I
$(top_srcdir)/Pod-Simple-Texinfo/lib/
$(top_srcdir)/Pod-Simple-Texinfo/pod2texi.pl --base-level=section --preamble -
--subdir=$(srcdir)/api_includes $(texi2any_internals_dependencies) <
$(srcdir)/texi2any_internals_preamble.texi >$@.tmp ; then \
cat $@.tmp | sed -e 's/^@bye/@__bye/' | sed -e '/^@__bye/r
$(srcdir)/texi2any_internals_indices.texi' | sed -e 's/^@__bye//' >
texi2any_internals.texi ; \