[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[no subject]
From: |
Gavin D. Smith |
Date: |
Thu, 22 Aug 2024 13:34:08 -0400 (EDT) |
branch: release/7.1
commit 31fc03293496903434bf8a00bbf8503e3bb08498
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 eea93026f7..ab75ee8ab1 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 13c6c0c4fa..f733797fd2 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