summaryrefslogtreecommitdiff
path: root/Master/tlpkg/libexec
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2020-03-03 23:20:40 +0000
committerKarl Berry <karl@freefriends.org>2020-03-03 23:20:40 +0000
commite0cf1c6f0003d2d2504e786112d1f3132d7ab17a (patch)
tree1200b6fb7ce80428aab8a37004fdb2a5bf20efc0 /Master/tlpkg/libexec
parent8dca48638976c42c6e04b2f2754cd07aa7c32789 (diff)
pmx now that we have new binaries
git-svn-id: svn://tug.org/texlive/trunk@54056 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/tlpkg/libexec')
-rwxr-xr-xMaster/tlpkg/libexec/ctan2tds19
1 files changed, 16 insertions, 3 deletions
diff --git a/Master/tlpkg/libexec/ctan2tds b/Master/tlpkg/libexec/ctan2tds
index 7ddcd9c2f2f..748119d799b 100755
--- a/Master/tlpkg/libexec/ctan2tds
+++ b/Master/tlpkg/libexec/ctan2tds
@@ -1428,6 +1428,7 @@ chomp (my $ctan_root = `tlpkginfo --ctan-root`);
'pictex' => '&PREHOOK_pictex',
'pkuthss' => '&PREHOOK_flatten1',
'plex-otf' => '&PREHOOK_flatten1',
+ 'pmx' => '&PREHOOK_pmx',
'prosper' => '&PREHOOK_prosper',
'skb' => '&PREHOOK_flatten1',
'suftesi' => '&PREHOOK_suftesi',
@@ -5661,6 +5662,12 @@ sub PREHOOK_pictex {
&SYSTEM ("$RM -rf addon/autoarea*");
}
+sub PREHOOK_pmx {
+ print "PREHOOK_$package - rm prebuilt binaries, up one level\n";
+ &SYSTEM ("$RM -rf OSX Windows* source");
+ &SYSTEM ("$MV doc/* tex/* .");
+}
+
sub PREHOOK_prosper {
print "PREHOOK_$package - handle image conflicts\n";
# some files different between img/ and contrib/img; prefer
@@ -6877,10 +6884,16 @@ sub POST_do_man {
}
sub POST_preserve_bin {
- # the pmx package includes binaries made from Build, and normal
- # scripts and support files. The latter can get updated without
- # needing to update the former, so we support it. Which means
+ # the pmx package, among others, includes binaries made from Build,
+ # and normal scripts and support files. The latter can get updated
+ # without needing to update the former, so we support it. Which means
# preserving the binaries from the Build.
+ #
+ # The ctan2tds output will look weird since all the binaries will show
+ # up as new files, since they are in <pkg>.<platform> subpackages. And
+ # thus the svn run will get errors that they can't be added, also. But
+ # since they don't actually need to be committed (that is the whole
+ # point of preserving them), no harm done.
my (@binaries) = @_;
chomp (my @platforms = `cd $Master/bin && ls`);
for my $p (@platforms) {