texinfo-commits
[Top][All Lists]
Advanced

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

[no subject]


From: Patrice Dumas
Date: Sat, 19 Nov 2022 10:14:52 -0500 (EST)

branch: master
commit 6672f4fcc51d1cc915d424dd23265805611153aa
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 a4dfeebc6f..7cc4daffc3 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-19  Patrice Dumas  <pertusus@free.fr>
 
        * doc/Makefile.am (po-check, po_document-check), README-hacking,
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.



reply via email to

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