[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[no subject]
From: |
Gavin D. Smith |
Date: |
Tue, 6 Aug 2024 20:28:14 -0400 (EDT) |
branch: master
commit a4d922ffb0558699136df27e11b6e05d6ad95670
Author: Gavin Smith <gavinsmith0123@gmail.com>
AuthorDate: Wed Aug 7 01:24:38 2024 +0100
* doc/tp_api/Makefile.am (texi2any_internals.texi):
Remove dependency on ModulePath.pm and add dependency on pod2texi.
---
ChangeLog | 5 +++++
doc/tp_api/Makefile.am | 9 ++++-----
2 files changed, 9 insertions(+), 5 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 847b695724..73b86cb0ef 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2024-08-07 Gavin Smith <gavinsmith0123@gmail.com>
+
+ * doc/tp_api/Makefile.am (texi2any_internals.texi):
+ Remove dependency on ModulePath.pm and add dependency on pod2texi.
+
2024-08-07 Gavin Smith <gavinsmith0123@gmail.com>
* doc/Makefile.am (pod2texi.texi): Add dependency on pod2texi
diff --git a/doc/tp_api/Makefile.am b/doc/tp_api/Makefile.am
index d7d2ef9933..bec6779839 100644
--- a/doc/tp_api/Makefile.am
+++ b/doc/tp_api/Makefile.am
@@ -78,14 +78,13 @@ texi2any_internals_dependencies = \
$(top_srcdir)/tp/Texinfo/Convert/TexinfoXML.pm \
$(top_srcdir)/tp/Texinfo/Convert/Plaintext.pm
-# Needed if make has not run in the "tp" directory yet
-$(top_builddir)/tp/Texinfo/ModulePath.pm:
- cd $(top_builddir)/tp && $(MAKE) $(AM_MAKEFLAGS) Texinfo/ModulePath.pm
+$(top_builddir)/Pod-Simple-Texinfo/pod2texi:
+ cd $(top_builddir)/Pod-Simple-Texinfo && $(MAKE) $(AM_MAKEFLAGS)
pod2texi
# 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 \
+texi2any_internals.texi: $(texi2any_internals_dependencies)
texi2any_internals_indices.texi texi2any_internals_preamble.texi
+ if $(MAKEINFO_ENVIRONMENT) $(PERL) -I
$(top_srcdir)/Pod-Simple-Texinfo/lib/
$(top_builddir)/Pod-Simple-Texinfo/pod2texi --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 ; \
if test '$(srcdir)' != '.' ; then \
if cmp texi2any_internals.texi $(srcdir)/texi2any_internals.texi
>/dev/null 2>&1 ; then \