diff options
Diffstat (limited to 'Build/cdbuild/ctan2tds.pl')
-rwxr-xr-x | Build/cdbuild/ctan2tds.pl | 22 |
1 files changed, 20 insertions, 2 deletions
diff --git a/Build/cdbuild/ctan2tds.pl b/Build/cdbuild/ctan2tds.pl index d4fe93eb229..37529554bee 100755 --- a/Build/cdbuild/ctan2tds.pl +++ b/Build/cdbuild/ctan2tds.pl @@ -77,6 +77,7 @@ chdir $startdir || die "chdir($startdir) failed: $!"; 'amsrefs', "&MAKEamslatex", 'antomega', "&MAKEflatten", 'antt', "&MAKEflatten", + 'arabi', "&MAKEarabi", 'arabtex', "&MAKEarabtex", 'archaic', "&MAKEwilson", 'arev', "&MAKEcopy", @@ -1021,7 +1022,7 @@ for (@ARGV) { @x=split(/\//,$packagedir); $package=pop(@x); - $dest=$specialdest{$package} || "texmf-dist"; + my $dest=$specialdest{$package} || "texmf-dist"; $TOPDEST="$TDS/$package"; $DEST="$TOPDEST/$dest"; @@ -1117,7 +1118,7 @@ sub MAKEcopy { -f "$dest/MANIFEST.txt" && &SYSTEM ("cd $dest && rm -f GUST*.txt MANIFEST.txt README.eng"); - # we need to preserve the lm sources. + # preserve the lm sources. if ($package eq "lm") { my $srcdir = " $dest/source/$whichdocformat/$package/"; &SYSTEM ("mkdir -p $srcdir"); @@ -1600,6 +1601,23 @@ sub MAKEamslatex { &SYSTEM ("rm -rf @deldir"); # discard the rest } +sub MAKEarabi { + &xchdir ("$packagedir/arabi/texmf"); # author will remove these next time + # + print "\t SPECIAL $package: removing microsoft and nonfree\n"; + &SYSTEM('find -name microsoft -o -name nonfree | xargs rm -rf'); + # + print "\t SPECIAL $package: rearranging for tds\n"; + &SYSTEM ("mkdir -p tex; mv latex tex"); + &SYSTEM ("rm -f tex/latex/arabi/updmap.cfg") + &SYSTEM ("rm -rf dvips"); + # + print "\t SPECIAL $package: copying to $DEST\n"; + # do the copy. + &SYSTEM ("mkdir -p $DEST"); + &SYSTEM ("$CP -r * $DEST/"); +} + sub MAKEarabtex { &xchdir ($packagedir); # |