From bf12109729c6dd16cad8b7310c0a1354b8315b60 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sat, 13 May 2017 23:31:11 +0000 Subject: doc, test git-svn-id: svn://tug.org/texlive/trunk@44325 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/scripts/texlive/Makefile | 12 ++++ Master/texmf-dist/scripts/texlive/NEWS | 8 +++ Master/texmf-dist/scripts/texlive/tlmgr.pl | 91 +++++++++++++++++------------- 3 files changed, 72 insertions(+), 39 deletions(-) create mode 100644 Master/texmf-dist/scripts/texlive/Makefile (limited to 'Master/texmf-dist') diff --git a/Master/texmf-dist/scripts/texlive/Makefile b/Master/texmf-dist/scripts/texlive/Makefile new file mode 100644 index 00000000000..c784104cc0b --- /dev/null +++ b/Master/texmf-dist/scripts/texlive/Makefile @@ -0,0 +1,12 @@ +# $Id$ +# Public domain. + +test_tlmgr_html = /tmp/tlmgr.html +live_tlmgr_html = /home/httpd/html/texlive/doc/tlmgr.html + +test-html: + pod2html --cachedir=/tmp tlmgr.pl >$(test_tlmgr_html) + diff $(live_tlmgr_html) $(test_tlmgr_html) + +install-html: + mv $(test_tlmgr_html) $(live_tlmgr_html) diff --git a/Master/texmf-dist/scripts/texlive/NEWS b/Master/texmf-dist/scripts/texlive/NEWS index 509e710d028..0af4545690f 100644 --- a/Master/texmf-dist/scripts/texlive/NEWS +++ b/Master/texmf-dist/scripts/texlive/NEWS @@ -1,6 +1,14 @@ (This file public domain. Originally written by Norbert Preining and Karl Berry, 2010.) +

tlmgr (TeX Live 2017): +

  • new action shell for interactive and scripted use. +
  • new action conf auxtrees to easily add and remove extra + texmf trees. +
  • if backups are enabled, a backup is automatically made by the + remove action. +
  • the info output includes sizes for schemes and collections. +

    tlmgr 41476 (released 20jun16):

  • fix tlmgr restore failure diff --git a/Master/texmf-dist/scripts/texlive/tlmgr.pl b/Master/texmf-dist/scripts/texlive/tlmgr.pl index 5d6e3448ac0..9599db1b48a 100755 --- a/Master/texmf-dist/scripts/texlive/tlmgr.pl +++ b/Master/texmf-dist/scripts/texlive/tlmgr.pl @@ -2472,7 +2472,7 @@ sub auto_remove_install_force_packages { } # # now take only the subset of packages that is in @todo - # note that @todo is already expanded in action_updated according + # note that @todo is already expanded in action_update according # to the --no-depends and --no-depends-at-all options # my %removals; @@ -7381,9 +7381,12 @@ category, short and long description, sizes, installation status, and TeX Live revision number. If I is not locally installed, searches in the remote installation source. -For normal packages (not collections or schemes), the sizes of the -four groups of files (run/src/doc/bin files) are shown. For collections -and schemes the B size including depending packages. +For normal packages (not collections or schemes), the sizes of the four +groups of files (run/src/doc/bin files) are shown separately. For +collections, the cumulative size is shown, including all +directly-dependent packages (but not dependent collections). For +schemes, the cumulative size is also shown, including all +directly-dependent collections and packages. If I is not found locally or remotely, the search action is used and lists matching packages and files. @@ -7577,7 +7580,8 @@ Its value is an integer. If the C value is C<-1>, no backups are removed. If C is 0 or more, it specifies the number of backups to keep. Thus, backups are disabled if the value is 0. In the C<--clean> mode of the C action this option also -specifies the number to be kept. +specifies the number to be kept. The default value is 1, so that +backups are made, but only one backup is kept. To setup C to C<-1> on the command line, use: @@ -7591,13 +7595,14 @@ The C, C, and C options are used on Unix-like systems to control the generation of links for executables, info files and man pages. See the C action for details. -The last three options control behavior on Windows installations. If -C is set, then some packages will install items in -a sub-folder of the Start menu for C, documentation, etc. If -C is set, Windows file associations are made (see also the -C action). Finally, if C is set, then adaptions -to the registry and the menus are done for all users on the system -instead of only the current user. All three options are on by default. +The last three options also affect behavior on Windows installations. +If C is set, then some packages will install items +in a sub-folder of the Start menu for C, documentation, etc. +If C is set, Windows file associations are made (see also +the C action). Finally, if C is set, then +adaptions to the registry and the menus are done for all users on the +system instead of only the current user. All three options are on by +default. =head2 paper @@ -7764,20 +7769,27 @@ package, dependencies are never removed. Options: =over 4 -=item B<--backup> and B<--backupdir> I +=item B<--backup> -These two options control the creation of backups of packages I -removal; that is, backup of packages as currently installed. If -neither of these options are given, no backup package will be saved. If -C<--backupdir> is given and specifies a writable directory then a backup -will be made in that location. If only C<--backup> is given, then a -backup will be made to the directory previously set via the C