summaryrefslogtreecommitdiff
path: root/Master/tlpkg/bin/ctan2tds
diff options
context:
space:
mode:
Diffstat (limited to 'Master/tlpkg/bin/ctan2tds')
-rwxr-xr-xMaster/tlpkg/bin/ctan2tds56
1 files changed, 29 insertions, 27 deletions
diff --git a/Master/tlpkg/bin/ctan2tds b/Master/tlpkg/bin/ctan2tds
index b42cc2785dd..bd0108a5d1d 100755
--- a/Master/tlpkg/bin/ctan2tds
+++ b/Master/tlpkg/bin/ctan2tds
@@ -102,6 +102,7 @@ chdir $startdir || die "chdir($startdir) failed: $!"; # back to raw
'cheq', "die 'skipping, nosell license'",
'circuit_macros', "die 'skipping, needs m4'",
'cjhebrew', "&MAKEflatten",
+ 'cjk', "&MAKEflatten",
'clock', "&MAKEflatten",
'cm-lgc', '&MAKEcmlgc',
'cmbright', "&MAKEflatten",
@@ -393,8 +394,8 @@ chdir $startdir || die "chdir($startdir) failed: $!"; # back to raw
'vicentino', "die 'skipping, nonfree license'",
'voss-de', "&MAKEvossde",
'vrsion', "die 'skipping, nonfree license'",
- #'wadalab', "&MAKEuntar", # still problems (wadalab.map is in CJK)
- 'wadalab', "die 'skipping, still needs work'",
+ 'wadalab', "&MAKEwadalab", # still problems (wadalab.map is in CJK)
+ #'wadalab', "die 'skipping, still needs work'",
'wasy2', "&MAKEflatten",
'wntamil', "die 'skipping, nonfree license'",
'wordcount', "&MAKEwordcount",
@@ -1841,32 +1842,8 @@ sub MAKEunzipandflatten {
&donormal;
}
-# wadalab provides nearly TDS-ready .tar.gz with additional stuff
-sub MAKEuntar
+sub MAKEnosymlinks
{
- print "MAKEuntar $package\n";
- &setup;
- &xchdir ("$DEST/doc/$whichdocformat/$package");
- # each XX.tar.gz contains a tds-ready tree under XX/texmf: use it
- opendir (HERE, ".") or die "this should no happen: $!";
- my @tarfiles = grep /\.tar\.gz$/, readdir HERE;
- closedir HERE;
- my $destfonts = "$DEST/fonts";
- &SYSTEM ("mkdir -p $destfonts");
- foreach my $tarfile (@tarfiles) {
- &SYSTEM ("tar xzf $tarfile && rm $tarfile");
- $tarfile =~ s/\.tar\.gz$//;
- &SYSTEM ("cp -r $tarfile/texmf/* $DEST");
- &SYSTEM ("rm -r $tarfile/texmf && rmdir $tarfile");
- }
- # wadalab has a dir of xdelta from the original fonts
- -d "xdelta" && &SYSTEM ("$MV xdelta $DEST/source/$whichdocformat/$package");
- # rm unused directories
- &SYSTEM ("rmdir $DEST/*/$whichformat/$package 2>/dev/null");
-}
-
-
-sub MAKEnosymlinks {
&setup;
chdir("$DEST/doc/$whichdocformat/$package");
@@ -2721,6 +2698,31 @@ sub MAKEvossde {
}
+# wadalab provides nearly TDS-ready .tar.gz with additional stuff
+sub MAKEwadalab
+{
+ print "MAKEwadalab $package\n";
+ &setup;
+ &xchdir ("$DEST/doc/$whichdocformat/$package");
+ # each XX.tar.gz contains a tds-ready tree under XX/texmf: use it
+ opendir (HERE, ".") or die "this should no happen: $!";
+ my @tarfiles = grep /\.tar\.gz$/, readdir HERE;
+ closedir HERE;
+ my $destfonts = "$DEST/fonts";
+ &SYSTEM ("mkdir -p $destfonts");
+ foreach my $tarfile (@tarfiles) {
+ &SYSTEM ("tar xzf $tarfile && rm $tarfile");
+ $tarfile =~ s/\.tar\.gz$//;
+ &SYSTEM ("cp -r $tarfile/texmf/* $DEST");
+ &SYSTEM ("rm -r $tarfile/texmf && rmdir $tarfile");
+ }
+ # wadalab has a dir of xdelta from the original fonts
+ -d "xdelta" && &SYSTEM ("$MV xdelta $DEST/source/$whichdocformat/$package");
+ # rm unused directories
+ &SYSTEM ("rmdir $DEST/*/$whichformat/$package 2>/dev/null");
+}
+
+
sub MAKEwordcount {
&xchdir ($packagedir);
#