texinfo-commits
[Top][All Lists]
Advanced

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

[no subject]


From: Patrice Dumas
Date: Thu, 27 Jan 2022 15:38:52 -0500 (EST)

branch: master
commit 8b857062ad3dac827eeda7ab4e5f46c0b484e396
Author: Patrice Dumas <pertusus@free.fr>
AuthorDate: Thu Jan 27 21:37:50 2022 +0100

    doc/tp_api/Makefile.am: split at chapter for pod documentation
---
 doc/tp_api/Makefile.am | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/doc/tp_api/Makefile.am b/doc/tp_api/Makefile.am
index f3f613aafd..27efbd3b83 100644
--- a/doc/tp_api/Makefile.am
+++ b/doc/tp_api/Makefile.am
@@ -15,6 +15,11 @@
 # cross-compiling.
 MAKEINFO = $(PERL) -I $(top_srcdir)/tp/ $(top_srcdir)/tp/texi2any.pl
 
+# the pod files are formatted like man pages.  If split at node
+# or section, this results in some very short sections at the beginning
+# of each module, so split at chapters.
+MAKEINFOHTML = $(MAKEINFO) --html --split=chapter
+
 #info_TEXINFOS = tp_api.texi
 if BUILD_PERL_API_TEXI
 
@@ -53,7 +58,7 @@ tp_api_dependencies = \
   $(top_srcdir)/tp/Texinfo/Convert/HTML.pm
 
 tp_api.texi: $(tp_api_dependencies)
-       $(PERL) -I $(top_srcdir)/Pod-Simple-Texinfo/lib/ -I $(top_srcdir)/tp/ 
-I $(top_srcdir)/tp/maintain/lib/Text-Unidecode/lib/ -I 
$(top_srcdir)/tp/maintain/lib/libintl-perl/lib/ -I 
$(top_srcdir)/tp/maintain/lib/Unicode-EastAsianWidth/lib/ 
$(top_srcdir)/Pod-Simple-Texinfo/pod2texi.pl --base-level=section --top 
'Texinfo perl module' --subdir=api_includes -o $@ $(tp_api_dependencies)
+       $(PERL) -I $(top_srcdir)/Pod-Simple-Texinfo/lib/ -I $(top_srcdir)/tp/ 
-I $(top_srcdir)/tp/maintain/lib/Text-Unidecode/lib/ -I 
$(top_srcdir)/tp/maintain/lib/libintl-perl/lib/ -I 
$(top_srcdir)/tp/maintain/lib/Unicode-EastAsianWidth/lib/ 
$(top_srcdir)/Pod-Simple-Texinfo/pod2texi.pl --base-level=section --top 
'Texinfo modules documentation' --subdir=api_includes -o $@ 
$(tp_api_dependencies)
 
 EXTRA_DIST = api_includes tp_api.texi
 



reply via email to

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