summaryrefslogtreecommitdiff
path: root/Master/tlpkg/libexec/ctan2tds
diff options
context:
space:
mode:
Diffstat (limited to 'Master/tlpkg/libexec/ctan2tds')
-rwxr-xr-xMaster/tlpkg/libexec/ctan2tds26
1 files changed, 16 insertions, 10 deletions
diff --git a/Master/tlpkg/libexec/ctan2tds b/Master/tlpkg/libexec/ctan2tds
index 6522982a1a0..4c551abf1af 100755
--- a/Master/tlpkg/libexec/ctan2tds
+++ b/Master/tlpkg/libexec/ctan2tds
@@ -79,6 +79,7 @@ chdir $startdir || die "chdir($startdir) failed: $!"; # back to raw
'augie', "&MAKEaugie",
'aurical', "&MAKEaurical",
'aurora', "die 'skipping, nocommercial license'",
+ 'babelbib', "&MAKEcopy",
'backgammon', "die 'skipping, nonfree license'",
'bangtex', "&MAKEflatten",
'bardiag', "&MAKEbardiag",
@@ -573,8 +574,9 @@ chdir $startdir || die "chdir($startdir) failed: $!"; # back to raw
'wsuipa' => '&PREHOOK_wsuipa',
);
-%specialpostaction = (
+%posthook = (
'apalike' => '&POSTapalike',
+ 'babelbib' => '&POSTbabelbib',
'bibleref' => '&POSTlatex2html',
'context-games' => '&POSTcontext_games',
'context-lilypond' => '&POSTcontext_lilypond',
@@ -1706,7 +1708,7 @@ sub MAKEcopy
&killfiles ($specialclean{$package} || $standardclean);
&killfiles ($moreclean{$package}, "more") if $moreclean{$package};
- my $postaction = $specialpostaction{$package};
+ my $postaction = $posthook{$package};
eval ($postaction) if $postaction;
}
@@ -1796,7 +1798,7 @@ sub donormal
}
# do the postaction in any case (we need to adapt some tds zips)
- my $postaction = $specialpostaction{$package};
+ my $postaction = $posthook{$package};
eval ($postaction) if $postaction;
}
@@ -3508,22 +3510,18 @@ sub POSTapalike
&SYSTEM ("$MV $src $dstdir/");
}
-sub POSTcoordsys
+sub POSTbabelbib
{
- print "POST$package - rename `putfile.' to `putfile.maple'.\n";
- # Apparently dtx insists on always adding the period; this can make
- # vfat filesystems choke.
- &SYSTEM ("$MV putfile. putfile.maple");
+ print "POST$package - removed texmf level\n";
+ &SYSTEM ("cd $DEST && $MV texmf/* . && rmdir texmf");
}
-
sub POSTcontext_games
{
print "POST$package - remove duplicated fonts\n";
&SYSTEM ("$RM -rf fonts");
}
-
sub POSTcontext_lilypond
{
print "POST$package - creating package-level subdirectories\n";
@@ -3535,6 +3533,14 @@ sub POSTcontext_lilypond
. "$DEST/tex/context/third/lilypond");
}
+sub POSTcoordsys
+{
+ print "POST$package - rename `putfile.' to `putfile.maple'.\n";
+ # Apparently dtx insists on always adding the period; this can make
+ # vfat filesystems choke.
+ &SYSTEM ("$MV putfile. putfile.maple");
+}
+
sub POSTelsarticle
{
print "POST$package - move contrib and src/* to source\n";