summaryrefslogtreecommitdiff
path: root/Build/cdbuild/ctan2tds.pl
diff options
context:
space:
mode:
Diffstat (limited to 'Build/cdbuild/ctan2tds.pl')
-rwxr-xr-xBuild/cdbuild/ctan2tds.pl39
1 files changed, 23 insertions, 16 deletions
diff --git a/Build/cdbuild/ctan2tds.pl b/Build/cdbuild/ctan2tds.pl
index 8733eb77472..2ad6ce0de05 100755
--- a/Build/cdbuild/ctan2tds.pl
+++ b/Build/cdbuild/ctan2tds.pl
@@ -284,7 +284,8 @@ chdir $startdir || die "chdir($startdir) failed: $!";
'tabvar', "&MAKEflatten",
'tamethebeast',"&MAKEtamethebeast",
'tengwarscript',"&MAKEflatten",
- 'tex-refs', "print \"tex-refs not ready\n\"",
+ 'tex-gyre', "&MAKEcopy",
+ 'tex-refs', "print \"tex-refs needs work\n\"",
'texdraw', "&MAKEtexdraw",
'texsis', "&MAKEtexsis",
'thaifonts-scalable', "print \"Thai, fontforge format only, skip\n\"",
@@ -1091,23 +1092,9 @@ sub MAKEcopy {
# do the copy.
&SYSTEM ("$CP -r * $dest");
- # for eplain, move info file.
- if (-r "$dest/doc/$package/doc/eplain.info") {
- warn "WARNING: moving eplain.info to /tmp\n";
- warn " -- YOU must put it in texmf/doc/info!\n";
- &SYSTEM ("mv $dest/doc/$package/doc/eplain.info /tmp");
- }
-
- # remove symlinks, needed for arev.
+ # for arev et al., remove symlinks.
&SYSTEM ("find $dest -type l | xargs --no-run-if-empty rm");
- # remove bin dir (with warning), needed for velthuis.
- if (-d "$dest/bin") {
- warn "WARNING: removing bin/ dir in $dest\n";
- warn " -- YOU must deal with it!\n";
- &SYSTEM ("rm -rf $dest/bin");
- }
-
# remove top-level README (shouldn't overwrite texmf-dist/README),
# needed for vntex, pgf, others.
-f "$dest/README" && &SYSTEM ("rm -f $dest/README");
@@ -1120,6 +1107,26 @@ sub MAKEcopy {
-f "$dest/MANIFEST.txt"
&& &SYSTEM ("cd $dest && rm -f GUST*.txt MANIFEST.txt README.eng");
+ # for tex-gyre, rename context subdir.
+ if (-d "$dest/fonts/map/pdftex/context") {
+ print "$package: rename context map dir.\n";
+ &SYSTEM ("mv $dest/fonts/map/pdftex/context $dest/fonts/map/pdftex/tex-gyre");
+ }
+
+ # for eplain, move info file (with warning).
+ if (-r "$dest/doc/$package/doc/eplain.info") {
+ warn "WARNING: moving eplain.info to /tmp\n";
+ warn " -- YOU must put it in texmf/doc/info!\n";
+ &SYSTEM ("mv $dest/doc/$package/doc/eplain.info /tmp");
+ }
+
+ # for velthuis, remove bin dir (with warning).
+ if (-d "$dest/bin") {
+ warn "WARNING: removing bin/ dir in $dest\n";
+ warn " -- YOU must deal with it!\n";
+ &SYSTEM ("rm -rf $dest/bin");
+ }
+
# preserve the lm sources.
if ($package eq "lm") {
my $srcdir = " $dest/source/$whichdocformat/$package/";