From a5ed6b49fd24fce0a996e8db92f76022c41c5007 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Tue, 21 Jul 2020 17:15:56 +0000 Subject: add tlmgr.html and install-tl.html to runtime, request by rdt git-svn-id: svn://tug.org/texlive/trunk@55897 c570f23f-e606-0410-a88d-b1316a301751 --- Master/tlpkg/bin/tl-update-auto | 9 +++++++-- Master/tlpkg/doc/howto-translations.txt | 6 ++++++ Master/tlpkg/doc/releng.txt | 3 ++- Master/tlpkg/tlpsrc/texlive-common.tlpsrc | 2 ++ 4 files changed, 17 insertions(+), 3 deletions(-) (limited to 'Master/tlpkg') diff --git a/Master/tlpkg/bin/tl-update-auto b/Master/tlpkg/bin/tl-update-auto index 17801127932..7770ca9b5f4 100755 --- a/Master/tlpkg/bin/tl-update-auto +++ b/Master/tlpkg/bin/tl-update-auto @@ -179,7 +179,7 @@ for gnuconf in ar-lib compile config.guess config.sub depcomp \ done -# tlmgr and install-tl man pages autogenerated. +# tlmgr and install-tl man pages + html autogenerated. # Arrange to ignore date differences. # if $config_scripts_only; then :; else @@ -194,6 +194,7 @@ same_except_for_auto () } mandir=texmf-dist/doc/man +tldocdir=texmf-dist/doc/texlive webdir=/home/httpd/html/texlive/doc man_update=false @@ -214,7 +215,11 @@ for script in texmf-dist/scripts/texlive/tlmgr.pl install-tl; do # can do it unconditionally. # pod2html="$chicken pod2html --cachedir=$TMPDIR" - test -z "$chicken" && $pod2html $script >$webdir/$basescript.html + if test -z "$chicken"; then + $pod2html $script >$webdir/$basescript.html + cp -p $webdir/$basescript.html $tldocdir/ + update_list="$update_list $tldocdir/$basescript.html" + fi fi done diff --git a/Master/tlpkg/doc/howto-translations.txt b/Master/tlpkg/doc/howto-translations.txt index d579e7ef5cc..0609f1cc881 100644 --- a/Master/tlpkg/doc/howto-translations.txt +++ b/Master/tlpkg/doc/howto-translations.txt @@ -104,3 +104,9 @@ When a new translation (language) is added, add to lists in tlmgr.pl (under --gui-lang), tlmgrgui.pl (%code_lang). Unfortunately nothing checks these for consistency, up to us humans. + +When a new translation of the TL Guide is added, update +texmf-dist/doc/texlive/index.html as well as the text of the guide itself. + +When a new translation of the top-level README txt/html is added, +update Master/index.html. diff --git a/Master/tlpkg/doc/releng.txt b/Master/tlpkg/doc/releng.txt index 18513def35c..a225c9bda73 100644 --- a/Master/tlpkg/doc/releng.txt +++ b/Master/tlpkg/doc/releng.txt @@ -268,9 +268,10 @@ M. As work proceeds, update the doc: groff -mandoc -Thtml $x1/updmap.1 >$lw/doc/updmap.html groff -mandoc -Thtml $x1/fmtutil.1 >$lw/doc/fmtutil.html While we're here, let's update the other generated html files: - # first save originals for diff if you like. pod2html --cachedir=/tmp $xx/tlmgr.pl >$lw/doc/tlmgr.html pod2html --cachedir=/tmp $Master/install-tl >$lw/doc/install-tl.html + Update copies in the Master tree (also done nightly in tl-update-auto): + cp $lw/doc/{tlmgr,install-tl}.html $Master/texmf-dist/doc/texlive Man pages from Build to Master (after doing a build): tl-update-man # consider removals from output, if any binaries are gone # check /tmp/so.rules against man1/Makefile, update if needed. diff --git a/Master/tlpkg/tlpsrc/texlive-common.tlpsrc b/Master/tlpkg/tlpsrc/texlive-common.tlpsrc index b96347bebd0..8cd96031535 100644 --- a/Master/tlpkg/tlpsrc/texlive-common.tlpsrc +++ b/Master/tlpkg/tlpsrc/texlive-common.tlpsrc @@ -2,6 +2,8 @@ category TLCore shortdesc TeX Live documentation (common elements) # docpattern +f texmf-dist/doc/texlive/index.html +docpattern +f texmf-dist/doc/texlive/install-tl.html +docpattern +f texmf-dist/doc/texlive/tlmgr.pl # postaction shortcut type=menu name="TeX Live documentation" \ cmd=TEXDIR/texmf-dist/doc/texlive/index.html -- cgit v1.2.3