texinfo-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[no subject]


From: Gavin D. Smith
Date: Wed, 7 Aug 2024 20:07:11 -0400 (EDT)

branch: master
commit a50b836fa6a5ef56e7fea7c134195a1a97e4e5f8
Author: Gavin Smith <gavinsmith0123@gmail.com>
AuthorDate: Thu Aug 8 00:35:15 2024 +0100

    * Makefile.am (BUILT_SOURCES): Add tp/Texinfo/ModulePath.pm along
    with rule to generate it.  This helps in running "make dist"
    without running "make" first.  Report from Bruno.
---
 ChangeLog   | 6 ++++++
 Makefile.am | 7 +++++++
 2 files changed, 13 insertions(+)

diff --git a/ChangeLog b/ChangeLog
index 314c68aa57..b20e458587 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2024-08-08  Gavin Smith <gavinsmith0123@gmail.com>
+
+       * Makefile.am (BUILT_SOURCES): Add tp/Texinfo/ModulePath.pm along
+       with rule to generate it.  This helps in running "make dist"
+       without running "make" first.  Report from Bruno.
+
 2024-08-07  Patrice Dumas  <pertusus@free.fr>
 
        * info/Makefile.am (../gnulib/lib/libgnu.a):
diff --git a/Makefile.am b/Makefile.am
index a509ec3f16..e8af29daaa 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -27,6 +27,13 @@ EXTRA_DIST = ChangeLog.46 ChangeLog.65 ChangeLog.70 \
 # distribution directory.
 TEXINFO_TEX = doc/texinfo.tex
 
+# Ensure that this file is built early, as it is needed to run texi2any
+# and pod2texi in rules under "man" and "doc".  This helps in running
+# "make dist" without running "make" first.
+BUILT_SOURCES = tp/Texinfo/ModulePath.pm
+tp/Texinfo/ModulePath.pm:
+       cd tp && $(MAKE) $(AM_MAKEFLAGS) Texinfo/ModulePath.pm
+
 # One special target for installers to use by hand if desired.
 install-tex:
        cd doc && $(MAKE) TEXMF=$(TEXMF) install-tex



reply via email to

[Prev in Thread] Current Thread [Next in Thread]