diff options
Diffstat (limited to 'Master/texmf-dist/source/latex/latex-tds/build.pl')
-rwxr-xr-x | Master/texmf-dist/source/latex/latex-tds/build.pl | 35 |
1 files changed, 17 insertions, 18 deletions
diff --git a/Master/texmf-dist/source/latex/latex-tds/build.pl b/Master/texmf-dist/source/latex/latex-tds/build.pl index c8b10439425..fadc6b94f45 100755 --- a/Master/texmf-dist/source/latex/latex-tds/build.pl +++ b/Master/texmf-dist/source/latex/latex-tds/build.pl @@ -4,8 +4,8 @@ $^W=1; my $prj = 'latex-tds'; my $file = 'build.pl'; -my $version = cvs('$Revision: 1.145 $'); -my $date = cvs('$Date: 2009/09/09 07:40:24 $'); +my $version = cvs('$Revision: 1.149 $'); +my $date = cvs('$Date: 2009/09/25 16:44:47 $'); my $author = 'Heiko Oberdiek'; my $copyright = "Copyright 2006-2009 $author"; chomp(my $license = <<"END_LICENSE"); @@ -209,6 +209,7 @@ if (@list_modules > 0) { return 1 if -f $file and !$opt_download; info("download $url\n --> $file"); my $cmd = $prg_curl; + $cmd .= " -4"; $cmd .= " --disable-epsv"; # for ftp.ams.org $cmd .= " --time-cond $file" if -f $file; # download only if newer $cmd .= " --remote-time"; # set file date @@ -217,8 +218,9 @@ if (@list_modules > 0) { run($cmd); -f $file or die "$error Download failed ($url)!\n"; } - + download_ctan('base', 'macros/latex'); + download_ctan('doc', 'macros/latex'); download_ctan('tools', 'macros/latex/required'); download_ctan('graphics', 'macros/latex/required'); download_ctan('cyrillic', 'macros/latex/required'); @@ -324,6 +326,13 @@ section('Unpacking'); my $dest = "$dir_build/base/$name.err"; run("$prg_cp $file $dest"); } + if ($modules{'base'}) { + run("$prg_rm -rf $dir_build/base/doc"); + unpacking('base', + "$dir_incoming_ctan/doc.zip", + "$dir_build/base"); + run("$prg_cp -p $dir_build/base/doc/*.tex $dir_build/base/"); + } map { unpack_ctan($_); } @required_list; if ($modules{'amslatex'}) { unpack_ams('amsrefs-tds'); @@ -356,14 +365,6 @@ section('Patches'); { ; # - if ($modules{'base'}) { - patch("base/classes.dtx"); - } - - if ($modules{'tools'}) { - patch("tools/array.dtx"); - } - if ($modules{'psnfss'}) { chdir "$dir_build/psnfss"; run("$prg_checksum psfonts.dtx"); @@ -389,11 +390,11 @@ section('Patches'); run("$prg_chmod -x @files"); chdir $cwd; } - + if ($modules{'amslatex'}) { patch("amslatex/math/amsldoc.tex"); } - + # if ($modules{'babel'}) { # map { patch("babel/$_"); } qw[ # ]; @@ -573,7 +574,7 @@ section('Patches after source install'); } chdir $cwd; - + patch('base/encguide.tex'); patch('base/utf8ienc.dtx'); } @@ -590,7 +591,7 @@ section('Patches after source install'); } } - + if ($modules{'amslatex'}) { patch("amslatex/classes/amsclass.dtx"); } @@ -896,9 +897,7 @@ if ($modules{'base'}) { tlc2 lb2 lgc2 - grphcomp webcomp - webcompg ]; run("$prg_sed -i -e '" . 's/\\\\documentclass{article}/' @@ -1433,7 +1432,7 @@ if ($modules{'latex3'}) { # simple3_doc('expl3', 'expl3', 'drv'); # simple3_doc('expl3', 'l32eproc', 'drv'); # source3_doc('expl3', 'source3'); - + my $file_style_l3doc = 'texmf/makeindex/expl3/l3doc.ist'; open(IN, '<', $file_style_l3doc) or die "$error Cannot open `$file_style_l3doc'!\n"; |