summaryrefslogtreecommitdiff
path: root/Master/tlpkg
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2020-07-21 17:15:56 +0000
committerKarl Berry <karl@freefriends.org>2020-07-21 17:15:56 +0000
commita5ed6b49fd24fce0a996e8db92f76022c41c5007 (patch)
tree3b5bc8e3d4b2ea575f4d7063feec5611a69c6768 /Master/tlpkg
parent820de098817b5b046ddd42fe0961658d161d72f1 (diff)
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
Diffstat (limited to 'Master/tlpkg')
-rwxr-xr-xMaster/tlpkg/bin/tl-update-auto9
-rw-r--r--Master/tlpkg/doc/howto-translations.txt6
-rw-r--r--Master/tlpkg/doc/releng.txt3
-rw-r--r--Master/tlpkg/tlpsrc/texlive-common.tlpsrc2
4 files changed, 17 insertions, 3 deletions
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