[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
branch master updated: * doc/tp_api/Makefile.am (MAKEINFO_ENVIRONMENT) (
From: |
Patrice Dumas |
Subject: |
branch master updated: * doc/tp_api/Makefile.am (MAKEINFO_ENVIRONMENT) (texi2any_internals_dependencies, texi2any_internals.texi): instead of going to srcdir, use --outdir pod2texi.pl option to specify a different output directory from the include directory and generate Texinfo files from the build directory. |
Date: |
Fri, 20 Sep 2024 05:02:16 -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 66d93f5fde * doc/tp_api/Makefile.am (MAKEINFO_ENVIRONMENT)
(texi2any_internals_dependencies, texi2any_internals.texi): instead of going to
srcdir, use --outdir pod2texi.pl option to specify a different output directory
from the include directory and generate Texinfo files from the build directory.
66d93f5fde is described below
commit 66d93f5fdeef0c38b5fec2cb1c3ca2483ba7d2e4
Author: Patrice Dumas <pertusus@free.fr>
AuthorDate: Fri Sep 20 11:02:16 2024 +0200
* doc/tp_api/Makefile.am (MAKEINFO_ENVIRONMENT)
(texi2any_internals_dependencies, texi2any_internals.texi): instead of
going to srcdir, use --outdir pod2texi.pl option to specify a
different output directory from the include directory and generate
Texinfo files from the build directory.
---
ChangeLog | 8 +++++++
doc/tp_api/Makefile.am | 62 +++++++++++++++++++++++---------------------------
2 files changed, 37 insertions(+), 33 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 87d68adab2..cbe4b8ff32 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2024-09-20 Patrice Dumas <pertusus@free.fr>
+
+ * doc/tp_api/Makefile.am (MAKEINFO_ENVIRONMENT)
+ (texi2any_internals_dependencies, texi2any_internals.texi): instead of
+ going to srcdir, use --outdir pod2texi.pl option to specify a
+ different output directory from the include directory and generate
+ Texinfo files from the build directory.
+
2024-09-20 Patrice Dumas <pertusus@free.fr>
* Pod-Simple-Texinfo/pod2texi.pl (@included): fix included files
diff --git a/doc/tp_api/Makefile.am b/doc/tp_api/Makefile.am
index 7527431611..3baf4025c1 100644
--- a/doc/tp_api/Makefile.am
+++ b/doc/tp_api/Makefile.am
@@ -14,11 +14,10 @@
# texi2any_internals_indices.texi does not appear in any menu.
AM_MAKEINFOFLAGS = -c INFO_SPECIAL_CHARS_WARNING=0 -c
TREE_TRANSFORMATIONS=complete_tree_nodes_menus
-# Use the programs built in our distribution. Use absolute directory
-# names so we can run from a different working directory.
+# Use the programs built in our distribution.
MAKEINFO_ENVIRONMENT = TEXINFO_DEV_SOURCE=1 \
- top_srcdir="$(abs_top_srcdir)" \
- top_builddir="$(abs_top_builddir)"
+ top_srcdir="$(top_srcdir)" \
+ top_builddir="$(top_builddir)"
MAKEINFO = $(MAKEINFO_ENVIRONMENT) $(PERL) $(top_srcdir)/tp/texi2any.pl
TEXI2DVI_ENVIRONMENT = TEXINDEX=${abs_top_builddir}/texindex/texindex \
@@ -54,38 +53,35 @@ BUILT_SOURCES = texi2any_internals.texi
# all the modules with some interesting public interfaces.
# The order matters for the result.
-# Note that these relative file names are correct from srcdir, and will be
-# found from builddir in VPATH builds.
texi2any_internals_dependencies = \
- ../../tp/Texinfo/Commands.pod \
- ../../tp/Texinfo/Common.pm \
- ../../tp/Texinfo/ParserNonXS.pm \
- ../../tp/Texinfo/Document.pm \
- ../../tp/Texinfo/ManipulateTree.pm \
- ../../tp/Texinfo/Structuring.pm \
- ../../tp/Texinfo/Report.pm \
- ../../tp/Texinfo/Translations.pm \
- ../../tp/Texinfo/Transformations.pm \
- ../../tp/Texinfo/Indices.pm \
- ../../tp/Texinfo/OutputUnits.pm \
- ../../tp/Texinfo/Convert/Texinfo.pm \
- ../../tp/Texinfo/Convert/Utils.pm \
- ../../tp/Texinfo/Convert/Unicode.pm \
- ../../tp/Texinfo/Convert/NodeNameNormalization.pm \
- ../../tp/Texinfo/Convert/Text.pm \
- ../../tp/Texinfo/Convert/Converter.pm \
- ../../tp/Texinfo/Convert/Info.pm \
- ../../tp/Texinfo/Convert/HTML.pm \
- ../../tp/Texinfo/Convert/DocBook.pm \
- ../../tp/Texinfo/Convert/TexinfoMarkup.pm \
- ../../tp/Texinfo/Convert/TexinfoXML.pm \
- ../../tp/Texinfo/Convert/Plaintext.pm
+ $(top_srcdir)/tp/Texinfo/Commands.pod \
+ $(top_srcdir)/tp/Texinfo/Common.pm \
+ $(top_srcdir)/tp/Texinfo/ParserNonXS.pm \
+ $(top_srcdir)/tp/Texinfo/Document.pm \
+ $(top_srcdir)/tp/Texinfo/ManipulateTree.pm \
+ $(top_srcdir)/tp/Texinfo/Structuring.pm \
+ $(top_srcdir)/tp/Texinfo/Report.pm \
+ $(top_srcdir)/tp/Texinfo/Translations.pm \
+ $(top_srcdir)/tp/Texinfo/Transformations.pm \
+ $(top_srcdir)/tp/Texinfo/Indices.pm \
+ $(top_srcdir)/tp/Texinfo/OutputUnits.pm \
+ $(top_srcdir)/tp/Texinfo/Convert/Texinfo.pm \
+ $(top_srcdir)/tp/Texinfo/Convert/Utils.pm \
+ $(top_srcdir)/tp/Texinfo/Convert/Unicode.pm \
+ $(top_srcdir)/tp/Texinfo/Convert/NodeNameNormalization.pm \
+ $(top_srcdir)/tp/Texinfo/Convert/Text.pm \
+ $(top_srcdir)/tp/Texinfo/Convert/Converter.pm \
+ $(top_srcdir)/tp/Texinfo/Convert/Info.pm \
+ $(top_srcdir)/tp/Texinfo/Convert/HTML.pm \
+ $(top_srcdir)/tp/Texinfo/Convert/DocBook.pm \
+ $(top_srcdir)/tp/Texinfo/Convert/TexinfoMarkup.pm \
+ $(top_srcdir)/tp/Texinfo/Convert/TexinfoXML.pm \
+ $(top_srcdir)/tp/Texinfo/Convert/Plaintext.pm
$(srcdir)/texi2any_internals.texi: $(texi2any_internals_dependencies)
$(srcdir)/texi2any_internals_indices.texi
$(srcdir)/texi2any_internals_preamble.texi
- cd $(srcdir) ; \
- target=texi2any_internals.texi ; \
- if $(MAKEINFO_ENVIRONMENT) $(PERL) -I ../../Pod-Simple-Texinfo/lib/
../../Pod-Simple-Texinfo/pod2texi.pl --base-level=section --preamble -
--subdir=api_includes $(texi2any_internals_dependencies) <
texi2any_internals_preamble.texi >$${target}.tmp ; then \
- cat $${target}.tmp | sed -e 's/^@bye/@__bye/' | sed -e '/^@__bye/r
texi2any_internals_indices.texi' | sed -e 's/^@__bye//' > $${target} ; \
+ target=$(srcdir)/texi2any_internals.texi ; \
+ if $(MAKEINFO_ENVIRONMENT) $(PERL) -I
$(top_srcdir)/Pod-Simple-Texinfo/lib/
$(top_srcdir)/Pod-Simple-Texinfo/pod2texi.pl --base-level=section --preamble -
--outdir=$(srcdir)/api_includes --subdir=api_includes
$(texi2any_internals_dependencies) < $(srcdir)/texi2any_internals_preamble.texi
>$${target}.tmp ; then \
+ cat $${target}.tmp | sed -e 's/^@bye/@__bye/' | sed -e '/^@__bye/r
$(srcdir)/texi2any_internals_indices.texi' | sed -e 's/^@__bye//' > $${target}
; \
fi ; rm -f $${target}.tmp
endif
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- branch master updated: * doc/tp_api/Makefile.am (MAKEINFO_ENVIRONMENT) (texi2any_internals_dependencies, texi2any_internals.texi): instead of going to srcdir, use --outdir pod2texi.pl option to specify a different output directory from the include directory and generate Texinfo files from the build directory.,
Patrice Dumas <=