diff options
author | Manuel Pégourié-Gonnard <mpg@elzevir.fr> | 2008-05-12 11:05:02 +0000 |
---|---|---|
committer | Manuel Pégourié-Gonnard <mpg@elzevir.fr> | 2008-05-12 11:05:02 +0000 |
commit | 43e7f2ec585dfb439baf7b3e8d398ebe96aa7a14 (patch) | |
tree | 0b364d1c3e6fefdc4c10cb3573b5c01b58f22147 | |
parent | 9ba67aff96c2f2ba10ab84c6617c35cbeb7628c5 (diff) |
koma-script now uses tds.zip with POSTkoma
git-svn-id: svn://tug.org/texlive/trunk@8081 c570f23f-e606-0410-a88d-b1316a301751
-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"; |