[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
branch master updated: Fix out-of-source build of pod2texi.texi
From: |
Patrice Dumas |
Subject: |
branch master updated: Fix out-of-source build of pod2texi.texi |
Date: |
Mon, 10 Jun 2024 06:05:50 -0400 |
This is an automated email from the git hooks/post-receive script.
pertusus pushed a commit to branch master
in repository texinfo.
The following commit(s) were added to refs/heads/master by this push:
new 715ef79247 Fix out-of-source build of pod2texi.texi
715ef79247 is described below
commit 715ef7924774b919e64dffe5a7f0995ac5e115f7
Author: Patrice Dumas <pertusus@free.fr>
AuthorDate: Mon Jun 10 12:05:39 2024 +0200
Fix out-of-source build of pod2texi.texi
* doc/tp_api/Makefile.am (pod2texi.texi): create pod2texi.texi in
$(srcdir) by passing the --subdir option.
Pass "-I $(top_builddir)/tp" to perl to find generated modules,
from Gavin.
---
ChangeLog | 9 +++++++++
doc/Makefile.am | 13 +++++++------
2 files changed, 16 insertions(+), 6 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index bad2a2a32c..a35eec2432 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2024-06-10 Patrice Dumas <pertusus@free.fr>
+
+ Fix out-of-source build of pod2texi.texi
+
+ * doc/tp_api/Makefile.am (pod2texi.texi): create pod2texi.texi in
+ $(srcdir) by passing the --subdir option.
+ Pass "-I $(top_builddir)/tp" to perl to find generated modules,
+ from Gavin.
+
2024-06-09 Gavin Smith <gavinsmith0123@gmail.com>
Fix out-of-source build of texi2any_internals.texi
diff --git a/doc/Makefile.am b/doc/Makefile.am
index 511c51490e..e3727e9f84 100644
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -35,12 +35,13 @@ pod2texi_pl =
$(abs_top_srcdir)/Pod-Simple-Texinfo/pod2texi.pl
if BUILD_PERL_API_TEXI
# we setup the conversion to Texinfo for inclusion in a document,
-# but we ignore the resulting document, as we include from the
-# Texinfo manual. The file name for the included section
-# is therefore determined by the information in the Pod file NAME
-# section.
-pod2texi.texi: $(pod2texi_pl)
- $(PERL) -I $(top_srcdir)/Pod-Simple-Texinfo/lib/ -I $(top_srcdir)/tp/
$(top_srcdir)/Pod-Simple-Texinfo/pod2texi.pl --base-level=subsubsection
--no-section-nodes --headings-as-sections $(pod2texi_pl) > /dev/null
+# but we ignore the main document (output to /dev/null) that includes
+# each portion of Texinfo converted from the pod files (here only from
+# pod2texi.pl), as we include from the Texinfo manual. The file name
+# for the included section is therefore determined by the information
+# in the Pod file NAME section.
+$(srcdir)/pod2texi.texi: $(pod2texi_pl)
+ $(PERL) -I $(top_builddir)/tp -I $(top_srcdir)/Pod-Simple-Texinfo/lib/
-I $(top_srcdir)/tp/ $(top_srcdir)/Pod-Simple-Texinfo/pod2texi.pl
--base-level=subsubsection --no-section-nodes --headings-as-sections
--subdir=$(srcdir) $(pod2texi_pl) > /dev/null
endif
TXI_MODULES_ENV = srcdir="$(srcdir)"; export srcdir;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- branch master updated: Fix out-of-source build of pod2texi.texi,
Patrice Dumas <=