From 43e7f2ec585dfb439baf7b3e8d398ebe96aa7a14 Mon Sep 17 00:00:00 2001 From: Manuel Pégourié-Gonnard Date: Mon, 12 May 2008 11:05:02 +0000 Subject: koma-script now uses tds.zip with POSTkoma git-svn-id: svn://tug.org/texlive/trunk@8081 c570f23f-e606-0410-a88d-b1316a301751 --- Master/tlpkg/bin/ctan2tds | 34 ++++++++++++++++++++-------------- 1 file changed, 20 insertions(+), 14 deletions(-) (limited to 'Master') 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"; -- cgit v1.2.3