[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[no subject]
From: |
Gavin D. Smith |
Date: |
Wed, 30 Nov 2022 12:29:22 -0500 (EST) |
branch: release/7.0
commit 5204a7f73cb0041c5e1c299e0ae4ebd76d1c2a87
Author: Patrice Dumas <pertusus@free.fr>
AuthorDate: Sat Nov 19 16:14:41 2022 +0100
Add Pod/Simple/Texinfo.pm HTML output to wwwdoc
* doc/Makefile.am (wwwdoc-build, wwwdoc-install): add
Pod/Simple/Texinfo.pm HTML output, link Pod/Simple/Texinfo.pm and call
pod2html such that a relative link to Pod/Simple/Texinfo.html is
actually output.
---
ChangeLog | 9 +++++++++
doc/Makefile.am | 14 ++++++++++++--
2 files changed, 21 insertions(+), 2 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 972dcdfe58..53297d90cd 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2022-11-19 Patrice Dumas <pertusus@free.fr>
+
+ Add Pod/Simple/Texinfo.pm HTML output to wwwdoc
+
+ * doc/Makefile.am (wwwdoc-build, wwwdoc-install): add
+ Pod/Simple/Texinfo.pm HTML output, link Pod/Simple/Texinfo.pm and call
+ pod2html such that a relative link to Pod/Simple/Texinfo.html is
+ actually output.
+
2022-11-18 Gavin Smith <gavinsmith0123@gmail.com>
* doc/Makefile.am (wwwdoc-build): Pass --quiet flag to pod2html.
diff --git a/doc/Makefile.am b/doc/Makefile.am
index 7a2d49e23d..407a38c0fc 100644
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -138,25 +138,33 @@ manual4 = texi2any_internals
manual4_title = "GNU Texinfo texi2any modules documentation"
manual4_flags = --split chapter --common "-c INFO_SPECIAL_CHARS_WARNING=0"
-# We also make a little HTML document for pod2texi script.
+# We also make little HTML documents for pod2texi script and
+# Pod::Simple::Texinfo documentation. Texinfo.pm is linked to
+# be found when translating pod2texi to html in directory set by
+# --podpath.
# destination directory.
doctemp = wwwtemp
www_target = $(HOME)/gnu/www/texinfo/manual
#
+# Beware that the beginning of the --outfile pod2html option and --htmldir
+# must match in order to have --htmldir actually used.
wwwdoc-build:
rm -rf $(doctemp) && mkdir $(doctemp)
cd $(doctemp) \
+ && $(MKDIR_P) Pod/Simple \
&& ln -s ../*.texi . \
&& ln -s ../tp_api/*.texi . \
&& ln -s ../tp_api/api_includes . \
+ && ln -s ../../../../Pod-Simple-Texinfo/lib/Pod/Simple/Texinfo.pm
Pod/Simple \
&& $(gendocs_invoke) -o $(manual1) $(manual1) $(manual1_title) \
&& $(gendocs_invoke) -o $(manual2) $(manual2) $(manual2_title) \
&& $(gendocs_invoke) $(manual3_flags) \
-o $(manual3) $(manual3) $(manual3_title) \
&& $(gendocs_invoke_chap) $(manual4_flags) \
-o $(manual4) $(manual4) $(manual4_title) \
- && pod2html --quiet $(pod2texi_pl) >pod2texi.html \
+ && pod2html --podpath . --htmldir='.' --quiet $(pod2texi_pl)
--outfile=./pod2texi.html \
+ && pod2html --quiet Pod/Simple/Texinfo.pm >Pod/Simple/Texinfo.html \
&& echo "Manuals ready for web distribution under: $(doctemp)/"
#
# At official release, we need to update:
@@ -166,5 +174,7 @@ wwwdoc-install:
$(doctemp)/$(manual3) $(doctemp)/$(manual4) \
$(doctemp)/pod2texi.html \
$(www_target)
+ $(MKDIR_P) $(www_target)/Pod/Simple
+ cp -arf $(doctemp)/Pod/Simple/Texinfo.html $(www_target)/Pod/Simple
ls -ltu $(www_target)/*/html_node | tail # cvs rm -f obsolete files
# followed by cvs add of new files and cvs commit.
- release/7.0 updated (713f496d72 -> 2093b6b286), Gavin D. Smith, 2022/11/30
- [no subject], Gavin D. Smith, 2022/11/30
- [no subject],
Gavin D. Smith <=
- [no subject], Gavin D. Smith, 2022/11/30
- [no subject], Gavin D. Smith, 2022/11/30
- [no subject], Gavin D. Smith, 2022/11/30
- [no subject], Gavin D. Smith, 2022/11/30
- [no subject], Gavin D. Smith, 2022/11/30