diff options
author | Karl Berry <karl@freefriends.org> | 2008-02-23 00:49:54 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2008-02-23 00:49:54 +0000 |
commit | 4fc1af1461e934c39f8f5e10d5d8788681d82223 (patch) | |
tree | 7716e8a3e8787a3d11c5ce728d21b808f786ce7d /Master/tlpkg/bin/ctan2tds | |
parent | 6f5a4edf390b6e05291d7a4b816782b14122a205 (diff) |
tikz/pgf 2.0 first attempt (22feb08)
git-svn-id: svn://tug.org/texlive/trunk@6741 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/tlpkg/bin/ctan2tds')
-rwxr-xr-x | Master/tlpkg/bin/ctan2tds | 30 |
1 files changed, 12 insertions, 18 deletions
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. |