[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[no subject]
From: |
Gavin D. Smith |
Date: |
Sun, 4 Aug 2024 16:01:44 -0400 (EDT) |
branch: master
commit cd7a003d9fce67866745e718ff97e09ad689cf3c
Author: Gavin Smith <gavinsmith0123@gmail.com>
AuthorDate: Sun Aug 4 20:58:38 2024 +0100
* doc/tp_api/Makefile.am (tp/Texinfo/ModulePath.pm):
Add rule to allow running "make dist" without running "make"
first. Report from Bruno Haible.
---
ChangeLog | 12 ++++++++++++
doc/tp_api/Makefile.am | 6 +++++-
2 files changed, 17 insertions(+), 1 deletion(-)
diff --git a/ChangeLog b/ChangeLog
index 7c9eb380f4..ed54c237b3 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,15 @@
+2024-08-04 Patrice Dumas <pertusus@free.fr>
+
+ * doc/tp_api/Makefile.am (tp/Texinfo/ModulePath.pm):
+ Add rule to allow running "make dist" without running "make"
+ first. Report from Bruno Haible.
+
+2024-08-04 Patrice Dumas <pertusus@free.fr>
+
+ * info/Makefile.am (../gnulib/lib/libgnu.a):
+ Add rule to allow running "make dist" without running "make"
+ first. Report from Bruno Haible.
+
2024-08-04 Patrice Dumas <pertusus@free.fr>
* info/Makefile.am (../gnulib/lib/libgnu.a):
diff --git a/doc/tp_api/Makefile.am b/doc/tp_api/Makefile.am
index a2d3a888be..c6124d4623 100644
--- a/doc/tp_api/Makefile.am
+++ b/doc/tp_api/Makefile.am
@@ -78,7 +78,11 @@ 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
+# 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
+
+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 >$@.tmp ; then \
cat $@.tmp | sed -e 's/^@bye/@__bye/' | sed -e '/^@__bye/r
$(srcdir)/texi2any_internals_indices.texi' | sed -e 's/^@__bye//' > $@ ; \
fi ; rm -f $@.tmp