summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/latex-tds/build.pl
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2014-05-16 21:13:53 +0000
committerKarl Berry <karl@freefriends.org>2014-05-16 21:13:53 +0000
commite77919f9b35665008bca9995ad456c4856698601 (patch)
tree9f528e20eb118cf03c42b459169111ac879dfc3e /Master/texmf-dist/source/latex/latex-tds/build.pl
parent1c26998ba324331b711efc275ccf9768955b03da (diff)
latex-tds (16may14)
git-svn-id: svn://tug.org/texlive/trunk@34068 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/latex-tds/build.pl')
-rwxr-xr-xMaster/texmf-dist/source/latex/latex-tds/build.pl13
1 files changed, 10 insertions, 3 deletions
diff --git a/Master/texmf-dist/source/latex/latex-tds/build.pl b/Master/texmf-dist/source/latex/latex-tds/build.pl
index b75bcea778b..eb18d87d58a 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 = '1.188';
-my $date = '2014-05-15';
+my $version = '1.190';
+my $date = '2014-05-16';
my $author = 'Heiko Oberdiek';
my $copyright = "Copyright 2006-2014 $author";
chomp(my $license = <<"END_LICENSE");
@@ -78,7 +78,9 @@ my $dir_distrib = 'distrib';
my $dir_build_distrib = "$dir_build/distrib";
my $dir_build_distrib_data = "$dir_build_distrib/$prj";
my $dir_texmf = 'texmf';
-chomp(my $cwd = `pwd`);
+
+my $prg_pwd = 'pwd';
+chomp(my $cwd = `$prg_pwd`);
# cache directory
use File::HomeDir;
@@ -488,6 +490,11 @@ section('Unpacking');
if ($modules{'amslatex'}) {
unpack_ams('amscls', "$dir_incoming_ctan/amscls.tds.zip");
+ # Rename TDS:bibtex/bst/ams -> TDS:bibtex/bst/amscls
+ my $dir_bibtex_ams = "$dir_build/amslatex/texmf/bibtex/bst/ams";
+ my $dir_bibtex_amscls = "${dir_bibtex_ams}cls";
+ run("$prg_mv $dir_bibtex_ams $dir_bibtex_amscls") if
+ -d $dir_bibtex_ams and not -d $dir_bibtex_amscls;
unpack_ams('amsrefs', "$dir_incoming_ctan/amsrefs.tds.zip");
unpack_ams('amsmath', "$dir_incoming/ctan/math.tds.zip");
#unpack_ams('amsrefs', "$dir_incoming_ams/amsrefs.zip");