summaryrefslogtreecommitdiff
path: root/Master/install-tl
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2011-06-12 23:51:47 +0000
committerKarl Berry <karl@freefriends.org>2011-06-12 23:51:47 +0000
commit51861484853f3cef90c51abba92d5735c3ce8038 (patch)
tree4a807dae4b245f1664e6c8f877496efb5744c17e /Master/install-tl
parent263b649ac11d8b673f713acd18f0dce0790b00e5 (diff)
(TEXLIVE_INSTALL_NO_CONTEXT_CACHE): if envvar is
set, don't run mtxrun --generate. Briefly document envvars. git-svn-id: svn://tug.org/texlive/trunk@22941 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/install-tl')
-rwxr-xr-xMaster/install-tl46
1 files changed, 41 insertions, 5 deletions
diff --git a/Master/install-tl b/Master/install-tl
index 2b59c1b2331..f416c35be12 100755
--- a/Master/install-tl
+++ b/Master/install-tl
@@ -855,7 +855,8 @@ operations might be disturbed.\n\n";
system("mktexlsr", $TEXMFSYSVAR, $TEXMFSYSCONFIG);
# luatex/context
- if (exists($install{"context"}) && $install{"context"} == 1) {
+ if (exists($install{"context"}) && $install{"context"} == 1
+ && !exists $ENV{"TEXLIVE_INSTALL_NO_CONTEXT_CACHE"}) {
info("setting up ConTeXt MkIV cache with mtxrun --generate ...");
system('mtxrun', '--generate');
info("done\n");
@@ -1088,8 +1089,8 @@ sub set_platforms_supported {
# TEXLIVE_INSTALL_TEXMFHOME '$HOME/texmf'
sub set_texlive_default_dirs {
- my $tex_prefix = $vars{'in_place'} ? abs_path($::installerdir) :
- getenv('TEXLIVE_INSTALL_PREFIX');
+ my $tex_prefix = $vars{'in_place'} ? abs_path($::installerdir)
+ : getenv('TEXLIVE_INSTALL_PREFIX');
if (win32) {
$tex_prefix ||= getenv('SystemDrive') . '/texlive';
# we use SystemDrive because ProgramFiles requires admin rights
@@ -2010,8 +2011,9 @@ all of TeX Live. This is the default on Windows systems.
=item C<perltk>
-The all-in-one GUI installer.
-It can also be selected by giving the C<-gui> option without any I<module>.
+The expert GUI installer providing access to more options. It can also
+be selected by giving the C<-gui> option without any I<module>, or, on
+Windows by running C<install-tl-advanced.bat>.
=back
@@ -2218,6 +2220,40 @@ If C<-v> has been given the revisions of the used modules are reported, too.
As usual, all options can be specified with either C<-> or C<-->, and
arguments can be separated from their options by either a space or C<=>.
+
+=head1 ENVIRONMENT VARIABLES
+
+For ease in scripting and debugging, C<install-tl> will look for the
+following environment variables. They are not of interest in normal
+user installations.
+
+=item C<TEXLIVE_INSTALL_ENV_NOCHECK>
+
+Omit the check for environment variables containing the string C<tex>.
+People developing TeX-related software are likely to have many such
+variables.
+
+=item C<TEXLIVE_INSTALL_NO_CONTEXT_CACHE>
+
+Omit creating the ConTeXt cache. This is useful for redistributors.
+
+=item C<TEXLIVE_INSTALL_PREFIX>
+
+=item C<TEXLIVE_INSTALL_TEXMFCONFIG>
+
+=item C<TEXLIVE_INSTALL_TEXMFHOME>
+
+=item C<TEXLIVE_INSTALL_TEXMFLOCAL>
+
+=item C<TEXLIVE_INSTALL_TEXMFSYSCONFIG>
+
+=item C<TEXLIVE_INSTALL_TEXMFSYSVAR>
+
+=item C<TEXLIVE_INSTALL_TEXMFVAR>
+
+Specify the respective directories.
+
+
=head1 AUTHORS AND COPYRIGHT
This script and its documentation were written for the TeX Live