diff options
author | Karl Berry <karl@freefriends.org> | 2020-04-12 18:27:45 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2020-04-12 18:27:45 +0000 |
commit | 8b5133fc03e7153f43877c766b26e7e291083599 (patch) | |
tree | a348f211783ede7f73c86071de04437db4e6046f /Master/tlpkg/libexec | |
parent | 60b5b72b9bff9fe39a3a5b784cc3aa6159276509 (diff) |
psnfss (2apr20)
git-svn-id: svn://tug.org/texlive/trunk@54694 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/tlpkg/libexec')
-rwxr-xr-x | Master/tlpkg/libexec/ctan2tds | 38 |
1 files changed, 22 insertions, 16 deletions
diff --git a/Master/tlpkg/libexec/ctan2tds b/Master/tlpkg/libexec/ctan2tds index e83f933262f..a6efe0acb73 100755 --- a/Master/tlpkg/libexec/ctan2tds +++ b/Master/tlpkg/libexec/ctan2tds @@ -1553,6 +1553,7 @@ chomp (my $ctan_root = `tlpkginfo --ctan-root`); 'pmx' => '&POSTpmx', 'pmxchords' => '&POST_do_man', 'prerex' => '&POSTprerex', + 'psnfss' => '&POSTpsnfss', 'pst-cox' => '&POSTpstcox', 'pst-geo' => '&POSTpstgeo', 'ptex-fontmaps' => '&POSTptex_fontmaps', @@ -3346,6 +3347,7 @@ $standardclean = '\.head|\.tmp|\.dvi|\.log|\.out|\.aux|\.toc|\.lof|\.lot' 'musixtnt' => 'msxlint(.exe)?$', # extra binaries 'pkfix-helper' => 'pkfix-helper.pdf', 'placeat' => $standardclean . '|README\.$', + 'psnfss' => $standardclean . '|8r\.enc$', # already in dvips 'purifyeps' => 'purifyeps.pdf', 'revtex' => '00readme.tex|DOWNLOAD|README', # already in doc 'sanskrit' => 'ps-type1|sktdoc.ps', # symlink, pdf in sanskrit-t1 @@ -5441,22 +5443,6 @@ sub MAKEfontinst { print "\t YOU-MUST-DO $package copy fontinst.bat to bin/win32\n"; } -sub MAKEpsnfss { - # we use the psnfss.zip from the latex-tds project. - # But we don't want the actual tfm/vf; TL has many more tfm's (in - # different packages), and we don't want to mess with that. So just - # remove the fonts subdir -- except for the map files, which we do want. - # - print "\t SPECIAL $package omit fonts from latex-tds version\n"; - - # Start with the usual straight copy. - &MAKEcopy (); - - # Then remove the entire fonts tree. - &xchdir ("$DEST/fonts"); - &SYSTEM ("rm -rf enc tfm vf"); -} - # CJK (from Werner Lemberg) @@ -6371,6 +6357,26 @@ sub POSTinteractiveworkbook { &SYSTEM ("rmdir interactiveworkbook.sty"); } +sub POSTpsnfss { + print "POST$package - extract tex subdirs from zip files, etc.\n"; + # + # keep test/ subdir in doc just because that's what heiko did in latex-tds. + &xmkdir ("test"); + &xsystem ("mv *test*.tex test/"); + # + # We don't want the actual tfm/vf from the sub-package zip files; TL + # has many more tfm's (in different packages), and we don't want to + # mess with that. So just remove the fonts subdir -- except for the + # map files, which we do want. + # Each zip has a top-level dir named the same as the .zip file. + for my $zip ("freenfss", "lw35nfss") { + &xsystem ("unzip -q $zip.zip"); + &xsystem ("rm -rf $zip/fonts/tfm $zip/fonts/vf"); + &xsystem ("$MV $zip/tex/latex/$package/* $DEST/tex/latex/$package/"); + &xsystem ("rm -rf $zip.zip $zip/"); + } +} + sub POSTptex_fontmaps { print "POST$package - move directories around\n"; # dir "src" content -> run files |