summaryrefslogtreecommitdiff
path: root/Master
diff options
context:
space:
mode:
authorNorbert Preining <preining@logic.at>2008-07-09 16:17:24 +0000
committerNorbert Preining <preining@logic.at>2008-07-09 16:17:24 +0000
commit576a378dbe8a5da3159facd2059f9e848a48da68 (patch)
tree8d47d3d1b76a1f911c6d3e6e7a8a4afc4d3fc589 /Master
parent88b3a54de62ee5476e5c3a425939afd9768266ce (diff)
activate context initialization stuff
git-svn-id: svn://tug.org/texlive/trunk@9402 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
-rw-r--r--Master/tlpkg/TeXLive/TLPostActions.pm15
1 files changed, 12 insertions, 3 deletions
diff --git a/Master/tlpkg/TeXLive/TLPostActions.pm b/Master/tlpkg/TeXLive/TLPostActions.pm
index 4314f5cf666..4b24b22f07e 100644
--- a/Master/tlpkg/TeXLive/TLPostActions.pm
+++ b/Master/tlpkg/TeXLive/TLPostActions.pm
@@ -34,7 +34,8 @@ sub do_install_bin_context {
if (! -r $TMF) {
open(TMF, ">$TMF") || die "open($TMF) failed: $!\n";
print TMF 'local conf = {}', "\n";
- print TMF "conf.TEXMFCACHE = \"$texmfsysvar/luatex-cache/context\"\n";
+ print TMF "conf.TEXMFCACHE = \"$texmfsysvar\"\n";
+ #print TMP "conf.CACHEINTDS = 't'\n";
print TMF "return conf\n";
close(TMF) || warn "close($TMF) failed: $!";
}
@@ -42,13 +43,21 @@ sub do_install_bin_context {
system("luatools", "--generate");
# build the context formats based on luatex
system("context", "--make", "--compile", "cont-en");
+ # update the font cache
+ system("mtxrun", "--script", "fonts", "--reload");
}
#
-# disabled by now
# what to do with permissions, multi-user, etc etc etc
-#$PostInstall{"bin-context"} = \&do_install_bin_context;
+$PostInstall{"bin-context"} = \&do_install_bin_context;
+# ATM do the same for luatex as for context
+sub do_install_luatex {
+ do_install_bin_context(@_);
+}
+$PostInstall{"luatex"} = \&do_install_luatex;
+
+
# xetex
#
sub do_install_xetex {