From 4fc1af1461e934c39f8f5e10d5d8788681d82223 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sat, 23 Feb 2008 00:49:54 +0000 Subject: tikz/pgf 2.0 first attempt (22feb08) git-svn-id: svn://tug.org/texlive/trunk@6741 c570f23f-e606-0410-a88d-b1316a301751 --- Master/tlpkg/bin/ctan2tds | 30 ++++++++++++------------------ 1 file changed, 12 insertions(+), 18 deletions(-) (limited to 'Master/tlpkg/bin') diff --git a/Master/tlpkg/bin/ctan2tds b/Master/tlpkg/bin/ctan2tds index 6343ac86519..dac3eb3ee6a 100755 --- a/Master/tlpkg/bin/ctan2tds +++ b/Master/tlpkg/bin/ctan2tds @@ -281,7 +281,7 @@ chdir $startdir || die "chdir($startdir) failed: $!"; # back to raw 'pdf-forms-tutorial-en', "&MAKEpdf_forms_tutorial", 'pdfcrop', "die 'skipping, do by hand in Build/source/texk/tetex'", 'perltex', "&MAKEperltex", - 'pgf', "&MAKEpgf", + 'pgf', "&MAKEcopy", 'pgfplots', "&MAKEflatten", # .sty's claimed generic aren't, keep latex 'phaistos', "&MAKEflatten", 'pict2e', "&MAKEpict2e", @@ -420,6 +420,7 @@ chdir $startdir || die "chdir($startdir) failed: $!"; # back to raw 'fpl' => '&POSTfpl', 'ibygrk' => '&POSTibygrk', 'interactiveworkbook' => '&POSTinteractiveworkbook', + 'pgf' => '&POSTpgf', ); @@ -2206,21 +2207,6 @@ sub MAKEperltex { print "YOU-MUST-DO! update /tmp/$package.pl to source/.../texlive/\n"; } -# pgf mostly is just a copy to the tex dir, but Till has a doc dir at -# the same level. -# -sub MAKEpgf -{ - print "\t SPECIAL pgf\n"; - &MAKEcopy ("$DEST/tex", "base"); - chdir ("$DEST/tex") || die "chdir($DEST/tex) failed: $!"; - - print "\t SPECIAL move tex/doc/generic/pgf to doc/generic/pgf\n"; - &SYSTEM ("mkdir -p $DEST/doc/generic"); - &SYSTEM ("$MV doc/generic/pgf $DEST/doc/generic/pgf"); -} - - # copy seminar files. sub MAKEseminar { &SYSTEM("mkdir -p $DEST/tex/latex/$package"); @@ -3261,12 +3247,13 @@ sub POSTbabel sub POSTfpl { - print "\t POST $package rename README.source\n"; + print "\t POST$package - rename README.source\n"; &SYSTEM ("$MV README.source $DEST/source/fonts/fpl/README"); } sub FLATTEN_PREHOOK_ibygrk { + print "\t FLATTEN_PREHOOK_$package - handle ibycus4.map\n"; # ibygrk has two instances of the same file ibycus4.map; it is # both tex source and mf source. the usual method cannot deal, of course. &SYSTEM ("$MV fonts/source/public/ibycus4/ibycus4.map ."); @@ -3275,6 +3262,7 @@ sub FLATTEN_PREHOOK_ibygrk sub POSTibygrk { + print "\t POST$package - second copy of ibycus4.map\n"; # after the ibygrk structure has been set up, copy ibycus4.map to the # tex dir. &SYSTEM ("cd $DEST && $CP fonts/source/public/ibygrk/ibycus4.map " @@ -3283,13 +3271,19 @@ sub POSTibygrk sub POSTinteractiveworkbook { - print "\t POST $package mv .sty directory\n"; + print "\t POST$package mv .sty directory\n"; my $dest = "$DEST/tex/latex/$package"; &SYSTEM ("mkdir -p $dest"); &SYSTEM ("$MV interactiveworkbook.sty/* $dest/"); &SYSTEM ("rmdir interactiveworkbook.sty"); } +sub POSTpgf +{ + print "\t POST$package mv generic+latex directories\n"; + &SYSTEM ("cd $DEST && mkdir tex && mv context generic latex plain tex"); +} + # Allow overrides. In particular, CTAN can change some hashes to make # packages with licenses that TL doesn't allow. -- cgit v1.2.3