On Tue, Jul 23, 2024 at 10:19:52PM +0100, Gavin Smith wrote: > If it is just those lines, it may be an acceptable way to make "make dist" > work without running "make" first, but I would want to investigate the > problem with Texinfo/ModulePath.pm first.
I do not know if it is the same, but here is a patch that adds the ModulePath.pm dependency and a rule for tp_api, which seems to be needed for a out of source build without a prior make all in doc/tp_api. -- Pat
diff --git a/doc/tp_api/Makefile.am b/doc/tp_api/Makefile.am index 72a2f3616f..fd5cb81e05 100644 --- a/doc/tp_api/Makefile.am +++ b/doc/tp_api/Makefile.am @@ -74,7 +74,10 @@ texi2any_internals_dependencies = \ $(top_srcdir)/tp/Texinfo/Convert/TexinfoXML.pm \ $(top_srcdir)/tp/Texinfo/Convert/Plaintext.pm -texi2any_internals.texi: $(texi2any_internals_dependencies) texi2any_internals_indices.texi texi2any_internals_preamble.texi +"$(top_builddir)"/tp/Texinfo/ModulePath.pm: + cd "$(top_builddir)"/tp && $(MAKE) $(AM_MAKEFLAGS) Texinfo/ModulePath.pm + +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=api_includes $(texi2any_internals_dependencies) < $(srcdir)/texi2any_internals_preamble.texi >[email protected] ; then \ cat [email protected] | sed -e 's/^@bye/@__bye/' | sed -e '/^@__bye/r $(srcdir)/texi2any_internals_indices.texi' | sed -e 's/^@__bye//' > $@ ; \ fi ; rm -f [email protected]
