From e0cf1c6f0003d2d2504e786112d1f3132d7ab17a Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Tue, 3 Mar 2020 23:20:40 +0000 Subject: pmx now that we have new binaries git-svn-id: svn://tug.org/texlive/trunk@54056 c570f23f-e606-0410-a88d-b1316a301751 --- Master/tlpkg/libexec/ctan2tds | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) (limited to 'Master/tlpkg/libexec') 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 . 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) { -- cgit v1.2.3