diff options
-rwxr-xr-x | Master/tlpkg/bin/ctan2tds | 34 |
1 files changed, 20 insertions, 14 deletions
diff --git a/Master/tlpkg/bin/ctan2tds b/Master/tlpkg/bin/ctan2tds index 07495f67168..b73a63b8b1d 100755 --- a/Master/tlpkg/bin/ctan2tds +++ b/Master/tlpkg/bin/ctan2tds @@ -1,4 +1,17 @@ #!/usr/bin/env perl +sub MAKEkoma { + # tds zip file provided, unzip and copy. + # + &xchdir ($packagedir); + # + print "\t SPECIAL $package unzip and copy\n"; + &SYSTEM ("unzip -q komascript.tds.zip"); + &SYSTEM ("$RM *"); # remove the top-level files, they're in the zip + # + &xchdir (".."); + &MAKEcopy (); +} + # $Id$ # Public domain. # Originally written by Sebastian Rahtz. Comments to tex-live@tug.org. @@ -195,7 +208,6 @@ chdir $startdir || die "chdir($startdir) failed: $!"; # back to raw 'jj_game', "die 'skipping, requires acrotex'", 'jsclasses', "die 'skipping, requires nonfree ptex/platex'", 'kerkis', "&MAKEflatten", - 'koma-script', "&MAKEkoma", 'kurier', "&MAKEcopy", 'kuvio', "die 'skipping, nonfree license'", 'latex-veryshortguide', "die 'skipping, nosell license'", @@ -421,6 +433,7 @@ chdir $startdir || die "chdir($startdir) failed: $!"; # back to raw 'ibygrk' => '&POSTibygrk', 'interactiveworkbook' => '&POSTinteractiveworkbook', 'inversepath' => '&POSTinversepath', + 'koma-script' => '&POSTkoma', 'leading' => '&POSTleading', 'pgf' => '&POSTpgf', 'pst-cox' => '&POSTpstcox', @@ -3237,19 +3250,6 @@ sub MAKEpsnfss { &SYSTEM ("rm -rf enc tfm vf"); } -sub MAKEkoma { - # tds zip file provided, unzip and copy. - # - &xchdir ($packagedir); - # - print "\t SPECIAL $package unzip and copy\n"; - &SYSTEM ("unzip -q komascript.tds.zip"); - &SYSTEM ("$RM *"); # remove the top-level files, they're in the zip - # - &xchdir (".."); - &MAKEcopy (); -} - sub MAKEcmlgc { &setup; chdir("$DEST/doc/$whichdocformat/$package"); @@ -3361,6 +3361,12 @@ sub POSTinversepath &SYSTEM ("$MV dtx-style.sty $dest/"); } +sub POSTkoma +{ + print "POSTkoma - removing symlinks\n"; + &SYSTEM ("find $DEST -type l | xargs --no-run-if-empty rm"); +} + sub POSTlatex2html { print "POSTlatex2html - moving $package.perl to doc\n"; |