3
0
Fork 0
forked from mirrors/nixpkgs

TeXLive: Building the format files, again.

svn path=/nixpkgs/trunk/; revision=20517
This commit is contained in:
Ludovic Courtès 2010-03-09 22:47:22 +00:00
parent 33e549fa4f
commit dbf2a74829

View file

@ -60,9 +60,16 @@ rec {
HOME=. PATH=$PATH:$out/bin updmap-sys --syncwithtrees
# Prebuild the format files, as it used to be done with TeXLive 2007.
# Luatex currently fails this way:
#
# This is a summary of all `failed' messages:
# `luatex -ini -jobname=luatex -progname=luatex luatex.ini' failed
# `luatex -ini -jobname=dviluatex -progname=dviluatex dviluatex.ini' failed
#
# I find it acceptable, hence the "|| true".
echo "building format files..."
ensureDir "$out/texmf-var/web2c"
PATH="$PATH:$out/bin" fmtutil-sys --all
PATH="$PATH:$out/bin" fmtutil-sys --all || true
PATH=$PATH:$out/bin mktexlsr $out/texmf*
'') ["minInit" "defEnsureDir" "doUnpack" "doMakeInstall"];