diff options
author | Karl Berry <karl@freefriends.org> | 2021-03-10 22:45:00 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2021-03-10 22:45:00 +0000 |
commit | b65e98d34d4de40941b7c0decb101ac2d304d651 (patch) | |
tree | 05b3720c081a111fe9d1a2e01d15591cc1c06f2d /Master/tlpkg/libexec | |
parent | 7a1fbab95b87f9c733da00b296f5134ca3805060 (diff) |
aesupp (10mar21) (branch)
git-svn-id: svn://tug.org/texlive/branches/branch2020.0@58263 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/tlpkg/libexec')
-rwxr-xr-x | Master/tlpkg/libexec/ctan2tds | 37 |
1 files changed, 15 insertions, 22 deletions
diff --git a/Master/tlpkg/libexec/ctan2tds b/Master/tlpkg/libexec/ctan2tds index 5e9ae580e48..57b09f42783 100755 --- a/Master/tlpkg/libexec/ctan2tds +++ b/Master/tlpkg/libexec/ctan2tds @@ -87,6 +87,7 @@ chomp (my $ctan_root = `tlpkginfo --ctan-root`); 'aeb_pro', "die 'skipping, per author (dps) request'", 'aeb_tilebg', "die 'skipping, per author (dps) request'", 'aecc', "die 'skipping, obsolete on CTAN'", + 'aesupp', "&MAKEflatten", 'akktex', "&MAKEflatten", 'alatex', "die 'skipping, 1995 LaTeX generalization'", 'alfaslabone', "&MAKEflatten", @@ -678,7 +679,6 @@ chomp (my $ctan_root = `tlpkginfo --ctan-root`); 'keys3', "die 'skipping, merged into expl3'", 'knit', "die 'skipping, ancient program'", 'knitting', "&MAKEflatten", - 'knuth', "die 'skipping, new top-level web/ dir? copies from sources?'", 'koi8', "die 'skipping, ca.1996, noinfo license'", 'koma-script-SFS', "die 'skipping, use koma-script-sfs'", 'koma-script-examples-3', "die 'skipping, just have koma-script-examples'", @@ -711,6 +711,7 @@ chomp (my $ctan_root = `tlpkginfo --ctan-root`); 'latex-referenz', "die 'skipping, author request'", 'latex-sciences-humaines', "die 'skipping, no source'", 'latex-tabellen', "die 'skipping, author request'", + 'latex-tds', "die 'skipping, obsolete, see knuth and pwebmac'", 'latex-tipps-und-tricks', "die 'skipping, noinfo license'", 'latex2e-help-texinfo-spanish', "die 'sorry, do by hand'", 'latex2html', "die 'skipping, not self-locating, needs apache changes'", @@ -2423,6 +2424,8 @@ $standardtex 'junicode', 'fonts', 'kixfont', 'fonts', 'knitting', 'fonts', + 'knuth', 'generic', + 'knuth-errata', 'generic', 'kotex-plain', 'plain', 'kpfonts', 'fonts', 'latexmk', 'support', @@ -3583,6 +3586,7 @@ $standardclean = '\.head|\.tmp|\.dvi|\.log|\.out|\.aux|\.toc|\.lof|\.lot' 'pas-tableur' => '\.pdf$', # no source 'piechartmp' => 'piechartmp.pdf', # no source 'ptptex' => '(overcite|cite|wrapfig).sty', # duplicated + 'pwebmac' => 'knuth-lib.tar.gz', # -> package knuth 'sapthesis' => '.*-ML.*\.pdf', # univ logos 'scientific-thesis-cover' => 'demo.pdf', # no source 'sectionbox' => 'example/lenna.*.jpg', # nonfree @@ -3681,12 +3685,15 @@ for (@ARGV) { sub sanitize_file_names { my ($dir) = @_; # -0 in case of spaces or other chars in filenames, which would be - # parsed into words by the shell otherwise. - &SYSTEM ("find $dir -print0 " - . "| xargs -0 /l/bin/rename 's![^-_A-Za-z0-9.,/+]!!g'"); + # parsed into words by the shell otherwise, cause trouble with svn, etc. + if (-d $dir) { + &SYSTEM ("find $dir -print0 " + . "| xargs -0 /l/bin/rename 's![^-_A-Za-z0-9.,/+]!!g'"); + } else { + die "$0:sanitize_file_names: not a directory, goodbye: $dir\n"; + } } - # Override our default guess of "latex" if we can intuit from the CTAN # path, which ctan2tl kindly passes us. @@ -5225,7 +5232,7 @@ sub MAKEltt { # pstricks packages usually support both plain and latex. # sub MAKEpst { - print "\t SPECIAL pst $package starts\n"; + print "\t SPECIAL MAKEpst - starts for $package"; # pst-laboObj.tex, pst-fp.sty, pst-vehicle need special cases: $standardtex = qq!^(($package(Obj)?)|pst-fp|ListVehicles)\.(tex|sty)!; $whichformat='generic'; @@ -6631,22 +6638,8 @@ sub POSTknitting { } sub POSTknuth { - print "POST$package - removing nonfree/duplicated files\n"; - # - &xchdir ($DEST); - &xmkdir ("doc/generic"); - &SYSTEM ("$MV doc/knuth doc/generic/"); - # - &xmkdir ("source/generic"); - &SYSTEM ("$MV source/knuth source/generic/"); - # - # remove nonfree. - &xchdir ("$DEST/doc/generic/knuth"); - &SYSTEM ("$RM tex/texbook.tex mf/mfbook.tex"); - # - # remove sources that are in build tree. - &xchdir ("$DEST/source/generic/knuth"); - &SYSTEM ("rm -rf etc mf mfware tex/tex.web tex/trip* texware web/*.web"); + print "POST$package - extract pwebmac/knuth-lib.tar.gz\n"; + #&xsystem ("tar xf knuth-lib.tar.gz"); } sub POSTknuth_lib { |