TeXLive: attempt to pre-build format files.
svn path=/nixpkgs/trunk/; revision=20473
This commit is contained in:
parent
8863a06fff
commit
9502391275
@ -46,15 +46,19 @@ rec {
|
|||||||
doPostInstall = fullDepEntry(''
|
doPostInstall = fullDepEntry(''
|
||||||
mv $out/bin $out/libexec
|
mv $out/bin $out/libexec
|
||||||
ensureDir $out/bin
|
ensureDir $out/bin
|
||||||
for i in $out/libexec/*/*; do
|
for i in "$out/libexec/"*"/"*; do
|
||||||
echo -ne "#! /bin/sh\\n$i \"\$@\"" >$out/bin/$(basename $i)
|
echo -ne "#! /bin/sh\\n$i \"\$@\"" >$out/bin/$(basename $i)
|
||||||
chmod a+x $out/bin/$(basename $i)
|
chmod a+x $out/bin/$(basename $i)
|
||||||
done
|
done
|
||||||
[ -d $out/texmf-config ] || ln -s $out/texmf $out/texmf-config
|
[ -d $out/texmf-config ] || ln -s $out/texmf $out/texmf-config
|
||||||
ln -s $out/*texmf* $out/share/
|
ln -s "$out/"*texmf* "$out/share/"
|
||||||
|
|
||||||
sed -e 's/.*pyhyph.*/=&/' -i $out/texmf-config/tex/generic/config/language.dat
|
sed -e 's/.*pyhyph.*/=&/' -i $out/texmf-config/tex/generic/config/language.dat
|
||||||
|
|
||||||
|
# Prebuild the format files, as it used to be done with TeXLive 2007.
|
||||||
|
ensureDir "$out/texmf-var/web2c"
|
||||||
|
PATH="$PATH:$out/bin" mktexfmt --fmtdir="$out/texmf-var/web2c" --all
|
||||||
|
|
||||||
PATH=$PATH:$out/bin mktexlsr $out/texmf*
|
PATH=$PATH:$out/bin mktexlsr $out/texmf*
|
||||||
|
|
||||||
HOME=. PATH=$PATH:$out/bin updmap-sys --syncwithtrees
|
HOME=. PATH=$PATH:$out/bin updmap-sys --syncwithtrees
|
||||||
|
Loading…
x
Reference in New Issue
Block a user