summaryrefslogtreecommitdiff
path: root/Master/tlpkg/libexec
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2011-06-06 17:16:13 +0000
committerKarl Berry <karl@freefriends.org>2011-06-06 17:16:13 +0000
commitf49b6e59b0d0a356926fdca182d060edd700cf68 (patch)
tree948f1eccc2d83b7da63c878b928cb86a5f2e7445 /Master/tlpkg/libexec
parente4eb16f2cc33863ebe1e13711aac7eae5f61e5de (diff)
tkz-base (5jun11)
git-svn-id: svn://tug.org/texlive/trunk@22827 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/tlpkg/libexec')
-rwxr-xr-xMaster/tlpkg/libexec/ctan2tds38
1 files changed, 26 insertions, 12 deletions
diff --git a/Master/tlpkg/libexec/ctan2tds b/Master/tlpkg/libexec/ctan2tds
index e4fd6b5056a..c6e4da136ee 100755
--- a/Master/tlpkg/libexec/ctan2tds
+++ b/Master/tlpkg/libexec/ctan2tds
@@ -791,8 +791,13 @@ chomp ($Build = `cd $Master/../Build/source && pwd`);
'titlepage-uni-dortmund', "die 'skipping, needs graphics (too short names) in .'",
'tkhyph', "die 'skipping, part of hyph-utf8'",
'tksbrief', "die 'skipping, LaTeX 2.09'",
- 'tkz-base', "&MAKEflatten",
- 'tkz-tab', "&MAKEflatten",
+ 'tkz-base', "&MAKEtkz",
+ 'tkz-berge', "&MAKEtkz",
+ 'tkz-euclide', "&MAKEtkz",
+ 'tkz-fct', "&MAKEtkz",
+ 'tkz-graph', "&MAKEtkz",
+ 'tkz-linknodes',"&MAKEtkz",
+ 'tkz-tab', "&MAKEtkz",
'tolkienfonts',"die 'skipping, cannot easily separate free from nonfree fonts'",
'tpcmfont', "die 'skipping, ?'",
'tracking', "die 'skipping, nonfree license'",
@@ -2210,8 +2215,7 @@ sub preserve_man_pages {
# some packages need to intervene at the beginning.
-sub run_prehook
-{
+sub run_prehook {
my $prehook = $prehook{$package};
if ($prehook) {
print "\t PREHOOK: running $prehook\n";
@@ -2224,8 +2228,7 @@ sub run_prehook
# some packages (e.g., vntex) are tl-ready (or near enough).
#
-sub MAKEcopy
-{
+sub MAKEcopy {
my $dest = $_[0] || $DEST;
my $pdir = $packagedir;
@@ -3665,8 +3668,21 @@ sub MAKEt2 {
&runjob ("rm *log; mv *sty $DEST/tex/latex/t2");
}
-sub MAKEtipa
-{
+sub MAKEtkz {
+ # move files in latex to runtime, and doc/* up a level.
+ &donormal ();
+ #
+ my $texdest = "$DEST/tex/$whichformat/$package";
+ &xmkdir ($texdest);
+ &SYSTEM ("$MV `find latex -type f` $texdest/");
+ &SYSTEM ("$RM -r latex"); # rm now-empty dir
+ &SYSTEM ("$MV doc/* .");
+ #
+ # remove newly empty directories.
+ &SYSTEM ("find -depth -type d -print | xargs rmdir 2>/dev/null");
+}
+
+sub MAKEtipa {
&xchdir("$packagedir/tipa-1.3");
my $Foundry = "public";
&runjob("mkdir -p $DEST/fonts/source/$Foundry/tipa");
@@ -3698,8 +3714,7 @@ sub MAKEvossde {
# wadalab provides nearly TDS-ready .tar.gz with additional stuff
#
-sub MAKEwadalab
-{
+sub MAKEwadalab {
print "MAKEwadalab $package - munge tds-ready tarballs\n";
&setup;
&xchdir ("$DEST/doc/$whichdocformat/$package");
@@ -3729,8 +3744,7 @@ sub MAKEwadalab
}
-sub MAKEwordcount
-{
+sub MAKEwordcount {
&xchdir ($packagedir);
#
print "\t SPECIAL $package: moving wordcount.sh to /tmp\n";