summaryrefslogtreecommitdiff
path: root/Master/tlpkg/bin/ctan2tds
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2008-11-22 01:17:55 +0000
committerKarl Berry <karl@freefriends.org>2008-11-22 01:17:55 +0000
commit70d3b80b036697c12ee7375c5ea98d42733189ad (patch)
tree9c3629434bc4fd366b18f917b15ba2a2b5580de4 /Master/tlpkg/bin/ctan2tds
parentb3fa035c5532f2dd65b7b6de6cc8daca10581386 (diff)
ptptex 0.91 (21nov08)
git-svn-id: svn://tug.org/texlive/trunk@11391 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/tlpkg/bin/ctan2tds')
-rwxr-xr-xMaster/tlpkg/bin/ctan2tds32
1 files changed, 32 insertions, 0 deletions
diff --git a/Master/tlpkg/bin/ctan2tds b/Master/tlpkg/bin/ctan2tds
index 0cc916b6b81..67c279dc892 100755
--- a/Master/tlpkg/bin/ctan2tds
+++ b/Master/tlpkg/bin/ctan2tds
@@ -25,6 +25,7 @@ use Cwd;
$MV = "mv";
$CP = "cp -p";
$RM = "rm -vf"; # just to get feedback from GNU rm on removals
+$INSTALL = "install -D";
$| = 1;
select ((select (STDERR), $| = 1)[0]);
@@ -86,6 +87,7 @@ chdir $startdir || die "chdir($startdir) failed: $!"; # back to raw
'biblatex-dw', "die 'skipping, depends on experimental biblatex'",
'biblatex-mla',"die 'skipping, depends on experimental biblatex'",
'bibtopicprefix', "&MAKEflatten",
+ 'bin-cjkutils',"&MAKEbin_cjkutils",
'bitfield', "die 'skipping, obsolete on CTAN'",
'blanks', "die 'skipping, unknown license (and c.1992)'",
'blockdraw_mp',"&MAKEflatten",
@@ -568,6 +570,7 @@ $standardfoundry='public';
'amsldoc-vn', 'texmf-doc',
'amsthdoc-it', 'texmf-doc',
'beamer-tut-pt', 'texmf-doc',
+ 'bin-cjkutils', 'texmf',
'catalogue', 'texmf-doc',
'comprehensive', 'texmf-doc',
'cursolatex', 'texmf-doc',
@@ -3170,8 +3173,37 @@ sub MAKEpsnfss {
&SYSTEM ("rm -rf enc tfm vf");
}
+
+# CJK
+
+sub I
+{
+ my ($s, $d) = @_;
+ &SYSTEM ("$INSTALL $s $DEST/$d");
+}
+
+sub MAKEcjk_common
+{
+ print "\t SPECIAL $package wholesale rearranging\n";
+ # start by removing the version number top-level directory.
+ &xchdir ($packagedir);
+ &SYSTEM ("$RM *.zip && $MV 4.?.?/* . && rmdir 4.?.?");
+}
+
sub MAKEcjk
{
+ &MAKEcjk_common ();
+ require "/home/karl/c/cjk.pl";
+}
+
+sub MAKEbin_cjkutils
+{
+ &MAKEcjk_common ();
+ require "/home/karl/c/bin-cjkutils.pl";
+}
+
+sub MAKEkarlcjk
+{
print "\t SPECIAL $package wholesale rearranging\n";
#
&setup ();