summaryrefslogtreecommitdiff
path: root/Master/tlpkg
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2018-03-22 21:56:45 +0000
committerKarl Berry <karl@freefriends.org>2018-03-22 21:56:45 +0000
commitb8c3630840af3e208cb60e260adc4c9622a0bd6a (patch)
tree314b2d94f484fadb53c7cb50843d2e5570e2116d /Master/tlpkg
parent6a779f2a3a5171811c5a3b6ed99f3d0affb1d371 (diff)
context-handlecsv (22mar18)
git-svn-id: svn://tug.org/texlive/trunk@47080 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/tlpkg')
-rwxr-xr-xMaster/tlpkg/libexec/ctan2tds15
1 files changed, 14 insertions, 1 deletions
diff --git a/Master/tlpkg/libexec/ctan2tds b/Master/tlpkg/libexec/ctan2tds
index 02e279cb5dd..dabf4ed3a35 100755
--- a/Master/tlpkg/libexec/ctan2tds
+++ b/Master/tlpkg/libexec/ctan2tds
@@ -3382,6 +3382,11 @@ sub MAKEcopy {
&killfiles ($specialclean{$package} || $standardclean);
&killfiles ($moreclean{$package}, "more") if $moreclean{$package};
+ # horrible special case to avoid listing every context-* package again.
+ if ($package =~ /^context-/ && ! $posthook{$package}) {
+ $posthook{$package} = "POST_context_contrib";
+ }
+
&do_posthook ();
}
@@ -5763,6 +5768,14 @@ sub build_scripts_copy {
}
}
+sub POST_context_contrib {
+ print "POST_context_contrib for $package - move VERSION file\n";
+ print `pwd`;
+ print `ls -R`;
+ (my $context_package = $package) =~ s/^context-//;
+ &SYSTEM ("$MV VERSION $DEST/doc/context/third/$context_package/");
+}
+
sub POSTcontext_games {
print "POST$package - remove duplicated fonts\n";
&SYSTEM ("$RM -rf fonts");
@@ -5770,7 +5783,7 @@ sub POSTcontext_games {
sub POSTcoordsys {
print "POST$package - rename `putfile.' to `putfile.maple'\n";
- # Apparently dtx insists on always adding the period; this can make
+ # Apparently dtx (TeX) insists on always adding the period; this can make
# vfat filesystems choke.
&SYSTEM ("$MV putfile. putfile.maple");
}