summaryrefslogtreecommitdiff
path: root/Master/tlpkg
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2020-04-15 22:35:35 +0000
committerKarl Berry <karl@freefriends.org>2020-04-15 22:35:35 +0000
commit7867772fc940308e5d66aefc6b270163d52f242b (patch)
tree1b97dd69726d85793bf2f61f6d12f620285ebef7 /Master/tlpkg
parent45731094394a7a1f1bed184f8d0b48fdcc3a53d7 (diff)
generate apa7 config files
git-svn-id: svn://tug.org/texlive/trunk@54757 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/tlpkg')
-rwxr-xr-xMaster/tlpkg/libexec/ctan2tds14
1 files changed, 11 insertions, 3 deletions
diff --git a/Master/tlpkg/libexec/ctan2tds b/Master/tlpkg/libexec/ctan2tds
index 5e920332ab3..a05f129581b 100755
--- a/Master/tlpkg/libexec/ctan2tds
+++ b/Master/tlpkg/libexec/ctan2tds
@@ -1403,6 +1403,7 @@ chomp (my $ctan_root = `tlpkginfo --ctan-root`);
%prehook = (
'a2ping' => '&PREHOOK_a2ping',
'apa6' => '&PREHOOK_apa6',
+ 'apa7' => '&PREHOOK_apa7',
'cals' => '&PREHOOK_cals',
'chess' => '&PREHOOK_chess',
'clojure-pamphlet' => '&PREHOOK_clojure_pamphlet',
@@ -4296,17 +4297,19 @@ sub runjob {
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.
+ # but if mktextfm failed, show it.
print `cat $Jobid.log` if $status != 0;
- $status = 0; # do not worry if the bitmap failed, e.g., grtt10.mf.
+ $#status = 0; # do not worry if the bitmap failed, e.g., grtt10.mf.
} else {
print `cat $Jobid.log`;
}
close (TMP);
system ("$RM -f /tmp/$Jobid.log; mv $Jobid.log /tmp"); # save last log
- die "goodbye, exit status $status for $job\n"
+ die "*** goodbye, exit status $status for $job\n"
if $status != 0;
+ die "*** goodbye, files could not be generated for $job\n"
+ if "@output" =~ /can't write on file/;
}
return $status;
}
@@ -5531,6 +5534,11 @@ sub PREHOOK_apa6 {
&SYSTEM ("mkdir config pseudoTeX");
}
+sub PREHOOK_apa7 {
+ print "PREHOOK_$package - subdirectories needed for dtx\n";
+ &SYSTEM ("mkdir config");
+}
+
sub PREHOOK_cals {
print "PREHOOK_$package - flatten only cals subdir\n";
&SYSTEM ("$MV cals/* .");