summaryrefslogtreecommitdiff
path: root/Master
diff options
context:
space:
mode:
authorNorbert Preining <preining@logic.at>2012-02-06 02:27:43 +0000
committerNorbert Preining <preining@logic.at>2012-02-06 02:27:43 +0000
commit05b755527de5c727db1bfb949bec132090a21c61 (patch)
tree58be074921ecadec3e379b0fd72c9bdf434ad8c1 /Master
parentb0d0805ceb964e51529f47783e57daf7fb7ecdc8 (diff)
prepare ctan2tds for japanese-otf and japanese-otf-uptex
git-svn-id: svn://tug.org/texlive/trunk@25311 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
-rwxr-xr-xMaster/tlpkg/libexec/ctan2tds32
1 files changed, 29 insertions, 3 deletions
diff --git a/Master/tlpkg/libexec/ctan2tds b/Master/tlpkg/libexec/ctan2tds
index 8c89d8c85bd..6aaa964ffb5 100755
--- a/Master/tlpkg/libexec/ctan2tds
+++ b/Master/tlpkg/libexec/ctan2tds
@@ -416,6 +416,8 @@ chomp ($Build = `cd $Master/../Build/source && pwd`);
'itrans-processor', "die 'skipping, no longer maintained, too complex'",
'iwona', "&MAKEcopy",
'jadetex', "&MAKEjadetex",
+ 'japanese-otf',"&MAKEjapaneseotf",
+ 'japanese-otf-uptex',"&MAKEjapaneseotf",
'jasthesis', "die 'skipping, license is unknown'",
'javadoc', "die 'skipping, requires java and no source'",
'jflap2tikz', "die 'skipping, requires java'",
@@ -1040,7 +1042,6 @@ $standarddest = "texmf-dist";
'ifxetex', 'generic',
'jadetex', 'jadetex',
'japanese', 'platex',
- 'japanese-otf','platex',
'levy', 'generic', # one .sty, one .tex
'mathabx', 'generic',
'mathdots', 'generic',
@@ -1461,7 +1462,8 @@ $standardtex='\.(.bx|cfg|sty|clo|ldf|cls|def|fd|cmap|4ht)$';
'jablantile', 'fonts',
'jadetex', 'jadetex',
'japanese', 'platex',
- 'japanese-otf', 'fonts',
+ 'japanese-otf', 'fonts',
+ 'japanese-otf-uptex', 'fonts',
'jfontmaps', 'fonts',
'junicode', 'fonts',
'kixfont', 'fonts',
@@ -3994,6 +3996,31 @@ sub MAKEtexsis {
&SYSTEM("rm *.ps");
}
+sub MAKEjapaneseotf {
+ &setup;
+ &xchdir("$DEST/doc/fonts/$package");
+ for my $i (qw/vf tfm ofm/) {
+ if (-d $i) {
+ &xmkdir ("$DEST/fonts/$i/public/$package");
+ &SYSTEM("$MV $i/* $DEST/fonts/$i/public/$package/; rmdir $i");
+ }
+ }
+ if (-d "sty") {
+ &xmkdir ("$DEST/tex/platex/$package");
+ &SYSTEM("$MV sty/* $DEST/tex/platex/$package/; rmdir sty");
+ }
+ if (-d "TeXLive-maps") {
+ &xmkdir ("$DEST/fonts/map/dvipdfmx/$package");
+ &SYSTEM("$MV TeXLive-maps/* $DEST/fonts/map/dvipdfmx/$package/; rmdir TeXLive-maps");
+ }
+ my $dstdir = "$DEST/source/fonts/$package";
+ &xmkdir ($dstdir);
+ &SYSTEM ("$MV basepl $dstdir/") if (-d "basepl");
+ &SYSTEM ("$MV script $dstdir/") if (-d "script");
+ &SYSTEM ("$MV patch $dstdir/") if (-d "patch");
+ &SYSTEM ("$MV *mkjvf $dstdir/");
+ &SYSTEM ("$MV *makeotf $dstdir/");
+}
sub MAKEIEEEtran {
print "\t SPECIAL $package - renaming README files, then flatten\n";
@@ -4726,7 +4753,6 @@ sub POSTzhspacing {
&SYSTEM ("$MV doc/* .; rmdir doc");
}
-
# Allow overrides. In particular, CTAN can change some hashes to make
# packages with licenses that TL doesn't allow.