From e56a6e26ff1501aaa0a0dc817840dea9383a3ce6 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sat, 22 Aug 2009 19:00:57 +0000 Subject: doc tweaks git-svn-id: svn://tug.org/texlive/trunk@14818 c570f23f-e606-0410-a88d-b1316a301751 --- Master/tlpkg/TeXLive/TLConfig.pm | 83 ++++++++++++++++------------------------ 1 file changed, 33 insertions(+), 50 deletions(-) (limited to 'Master/tlpkg/TeXLive/TLConfig.pm') diff --git a/Master/tlpkg/TeXLive/TLConfig.pm b/Master/tlpkg/TeXLive/TLConfig.pm index 37e9e7bb505..796b71175d3 100644 --- a/Master/tlpkg/TeXLive/TLConfig.pm +++ b/Master/tlpkg/TeXLive/TLConfig.pm @@ -51,7 +51,7 @@ BEGIN { } # the year of our release, will be used in the location of the -# network packges, and in menu names, and probably many other places +# network packages, and in menu names, and probably many other places $ReleaseYear = 2009; # Meta Categories do not ship files, but call only for other packages @@ -76,10 +76,6 @@ our $DatabaseName = "texlive.tlpdb"; our $BlockSize = 4096; -# the way we package things on the web -our $DefaultContainerFormat = "xz"; -our $DefaultContainerExtension = "tar.$DefaultContainerFormat"; - our $Archive = "archive"; our $TeXLiveServerURL = "http://mirror.ctan.org"; # from 2009 on we try to put them all into tlnet directly without any @@ -87,26 +83,30 @@ our $TeXLiveServerURL = "http://mirror.ctan.org"; # our $TeXLiveServerPath = "systems/texlive/tlnet/$ReleaseYear"; our $TeXLiveServerPath = "systems/texlive/tlnet"; our $TeXLiveURL = "$TeXLiveServerURL/$TeXLiveServerPath"; + +# Relocatable packages. our $RelocTree = "texmf-dist"; our $RelocPrefix = "RELOC"; our @CriticalPackagesList = qw/texlive.infra/; our $CriticalPackagesRegexp = '^(texlive\.infra)'; -if ($^O=~/^MSWin(32|64)$/i) { - push(@CriticalPackagesList, "tlperl.win32"); +if ($^O =~ /^MSWin(32|64)$/i) { + push (@CriticalPackagesList, "tlperl.win32"); $CriticalPackagesRegexp = '^(texlive\.infra|tlperl\.win32$)'; } -# -# stuff formerly set in 00texlive.config -# +# the way we package things on the web +our $DefaultContainerFormat = "xz"; +our $DefaultContainerExtension = "tar.$DefaultContainerFormat"; + +# archive (not user) settings. our %TLPDBConfigs = ( "container_split_src_files" => 1, "container_split_doc_files" => 1, "container_format" => $DefaultContainerFormat, - "release" => $ReleaseYear ); + "release" => $ReleaseYear, +); -# # definition of the option strings and their value types # possible types are: # - u: url @@ -118,8 +118,6 @@ our %TLPDBConfigs = ( # if b is empty end at +infty # so "n:.." is equivalent to "n" -# WARNING: keep these in sync! -# # $TLPDBOptions{"option"}->[0] --> type # ->[1] --> default value # ->[2] --> tlmgr name @@ -127,58 +125,45 @@ our %TLPDBConfigs = ( our %TLPDBOptions = ( "location" => - [ "u", "__MASTER__", - "location", + [ "u", "__MASTER__", "location", "Default installation location" ], "create_formats" => - [ "b", 1, - "formats", + [ "b", 1, "formats", "Create formats on installation" ], "desktop_integration" => - [ "b", 1, - "desktop_integration", + [ "b", 1, "desktop_integration", "Create shortcuts (menu and desktop) in postinst" ], "file_assocs" => - [ "n:0..2", 1, - "fileassocs", + [ "n:0..2", 1, "fileassocs", "Change file associations in postinst" ], "post_code" => - [ "b", 1, - "postcode", + [ "b", 1, "postcode", "Run postinst code blobs" ], "sys_bin" => - [ "p", "/usr/local/bin", - "sys_bin", + [ "p", "/usr/local/bin", "sys_bin", "Destination for symlinks for binaries" ], "sys_man" => - [ "p", "/usr/local/man", - "sys_man", + [ "p", "/usr/local/man", "sys_man", "Destination for symlinks for man pages" ], "sys_info" => - [ "p", "/usr/local/info", - "sys_info", + [ "p", "/usr/local/info", "sys_info", "Destination for symlinks for info docs" ], "install_docfiles" => - [ "b", 1, - "docfiles", + [ "b", 1, "docfiles", "Install documentation files" ], "install_srcfiles" => - [ "b", 1, - "srcfiles", + [ "b", 1, "srcfiles", "Install source files" ], "w32_multi_user" => - [ "b", 1, - "multiuser", + [ "b", 1, "multiuser", "Install for shortcuts/menu items for all users (w32)" ], "autobackup" => - [ "n:-1..", 0, - "autobackup", + [ "n:-1..", 0, "autobackup", "Number of backups to keep" ], "backupdir" => - [ "p", "", - "backupdir", + [ "p", "", "backupdir", "Directory for backups" ], - ); +); our %TLPDBSettings = ( @@ -253,26 +238,24 @@ These values specify where to find packages. =item C<$TeXLive::TLConfig::TeXLiveServerURL> =item C<$TeXLive::TLConfig::TeXLiveServerPath> -C is concatencated from these values, with a string between. +C is concatenated from these values, with a string between. The defaults are respectively, C and -CI, where I specifies the TeX Live -release version, such as C or C<2008>. +C. =item C<@TeXLive::TLConfig::CriticalPackagesList> =item C<@TeXLive::TLConfig::CriticalPackagesRegexp> -A list of all those packages which we do not update regularly -since they are too central, currently only texlive.infra (and tlperl.win32 -for Windows). +A list of all those packages which we do not update regularly since they +are too central, currently texlive.infra and (for Windows) tlperl.win32. =item C<$TeXLive::TLConfig::RelocTree> -the texmf-tree name that can be relocated, defaults to "texmf-dist" +The texmf-tree name that can be relocated, defaults to C. =item C<$TeXLive::TLConfig::RelocPrefix> -The string that replaces the RelocTree in the tlpdb if a package is -reloaced, defaults to "RELOC". +The string that replaces the C in the tlpdb if a package is +relocated, defaults to C". =back -- cgit v1.2.3