summaryrefslogtreecommitdiff
path: root/Master/tlpkg/libexec/ctan2tds
diff options
context:
space:
mode:
Diffstat (limited to 'Master/tlpkg/libexec/ctan2tds')
-rwxr-xr-xMaster/tlpkg/libexec/ctan2tds31
1 files changed, 16 insertions, 15 deletions
diff --git a/Master/tlpkg/libexec/ctan2tds b/Master/tlpkg/libexec/ctan2tds
index 2ad719afe5a..da480455e0b 100755
--- a/Master/tlpkg/libexec/ctan2tds
+++ b/Master/tlpkg/libexec/ctan2tds
@@ -646,7 +646,6 @@ chomp ($Build = `cd $Master/../Build/source && pwd`);
'morehelp', "die 'skipping, nonfree license'",
'morse', "die 'skipping, nosell license'",
'mp3d', "&MAKEflatten",
- 'mpattern', "&MAKEmpattern",
'mpcolornames',"&MAKEcopy",
'mpdinbrief', "die 'skipping, nosell license'",
'mptopdf', "die 'skipping, not ready, sorry'", #"&MAKEflatten",
@@ -1644,7 +1643,6 @@ $standardtex='\.(.bx|cfg|sty|clo|ldf|cls|def|fd|cmap|4ht)$';
'mkgrkindex', 'support',
'mkpattern', 'plain',
'mkjobtexmf', 'generic',
- 'mpattern', 'metapost',
'musixtex', 'generic',
'mxedruli', 'fonts',
'nkarta', 'fonts',
@@ -1735,8 +1733,6 @@ $standarddocfmt='latex';
'insbox', 'tex',
'iso10303', 'pdflatex',
'mfpic', 'tex',
- 'mpattern', 'true', # requires running mpp, but it's not executable and
- # anyway it's just a test file. ignore it.
'ofs', 'csplain',
'pdfscreen', 'pdflatex',
'pdfslide', 'pdflatex',
@@ -2113,7 +2109,7 @@ $standardmf='[0-9]\.mf';
'cookingsymbols', 'cookingsymbols\.mf',
'cmpica', 'cmpic.*\.mf',
'dancers', 'dancers\.mf',
- 'dice', 'dice3d\.mf',
+ 'dice', 'dice3d',
'dingbat', '\.mf',
'eiad-ltx', 'NULL', # Fr10.mf and Fbf10.mf don't compile (need cmbase)
'engwar', 'engwar\.mf',
@@ -3155,8 +3151,7 @@ sub rundvi {
# run a &SYSTEM job, and append stderr output to log file
#
-sub runjob
-{
+sub runjob {
my ($job) = @_;
my $status = 0;
@@ -3164,13 +3159,18 @@ sub runjob
print "WOULDRUNJOB $job\n";
} else {
my $Jobid = "_$$";
- &SYSTEM ("$job >$Jobid.log 2>&1");
+ chomp (my $PWD = `pwd`);
+ &SYSTEM ("$job >$PWD/$Jobid.log 2>&1");
$status = $?;
local *TMP;
open (TMP, "$Jobid.log") || die "open($Jobid.log) failed: $!";
my @output = (<TMP>);
if ($job =~ /^mktextfm/) {
- print $output[$#output-1]; # successfully generated line
+ my $lastline = $output[$#output-1];
+ print "runjob mktextfm last output line: $lastline\n";
+ # it's too verbose to print the full mf run of every font.
+ # but if mktextfm failed, show that.
+ print `cat $Jobid.log` if $status != 0;
$status = 0; # do not worry if the bitmap failed, e.g., grtt10.mf.
} else {
print `cat $Jobid.log`;
@@ -3968,20 +3968,21 @@ sub MAKEpslatex
}
sub MAKEeco {
-# this simply copies source files
- chdir($packagedir) || die ("ERROR: cannot open directory");
+ # this simply copies source files
+ chdir($packagedir) || die ("ERROR: cannot open directory");
&runjob("mkdir -p $DEST/fonts/tfm/$Foundry/eco");
&runjob("mkdir -p $DEST/fonts/vf/$Foundry/eco");
&runjob("mkdir -p $DEST/tex/latex/eco");
&runjob("mkdir -p $DEST/dvips/eco");
- &runjob("mkdir -p $DEST/doc/latex/eco");
+ &runjob("mkdir -p $DEST/doc/fonts/eco");
+ &runjob("mkdir -p $DEST/source/fonts/eco");
&runjob("$CP src/*sty $DEST/tex/latex/eco");
&runjob("$CP fd/* $DEST/tex/latex/eco");
&runjob("$CP tfm/* $DEST/fonts/tfm/$Foundry/eco");
&runjob("$CP vf/* $DEST/fonts/vf/$Foundry/eco");
- &runjob("$CP -r src/*tex src/*x src/*sh $DEST/doc/latex/eco");
- &runjob("$CP -r [A-Z]* $DEST/doc/latex/eco");
- }
+ &runjob("$CP -r [A-Z]* $DEST/doc/fonts/eco");
+ &runjob("$CP src/*x src/*.sh $DEST/source/fonts/eco/");
+}
sub MAKEelhyphen {
&setup;