summaryrefslogtreecommitdiff
path: root/Master/tlpkg/libexec/ctan2tds
diff options
context:
space:
mode:
Diffstat (limited to 'Master/tlpkg/libexec/ctan2tds')
-rwxr-xr-xMaster/tlpkg/libexec/ctan2tds29
1 files changed, 24 insertions, 5 deletions
diff --git a/Master/tlpkg/libexec/ctan2tds b/Master/tlpkg/libexec/ctan2tds
index c33277281e1..3a310c3e390 100755
--- a/Master/tlpkg/libexec/ctan2tds
+++ b/Master/tlpkg/libexec/ctan2tds
@@ -868,6 +868,7 @@ chomp ($Build = `cd $Master/../Build/source && pwd`);
'sae', "die 'skipping, nosell license'",
'saferef', "die 'skipping, nonfree license'",
'sagetex', "die 'skipping, omitted at author request (25 Jan 2010 19:50:16)'",
+ 'sansmathaccent', "&MAKEflatten",
'schedule', "die 'skipping, noinfo license, too old to matter'",
'schulschriften', "&MAKEflatten",
'scientifixpaper', "die 'skipping, noinfo license'",
@@ -4903,15 +4904,33 @@ sub POSTcontext {
print "still POST$package - user-level executables\n";
# similar to biber, executables go in both the Master bin dir and the
- # Build linked_scripts dir.
- my @exec = qw(context mtxrun);
-
+ # Build linked_scripts dir. The executables are cherry-picked from
+ # two different directories.
+ my $w32_bindir = "$TOPDEST/bin/win32";
+ &xmkdir ($w32_bindir);
+ #
+ &xchdir ("$DEST/scripts/$package/stubs/unix");
+ my @exec = ();
+ for my $exec (qw(context luatools texexec texmfstart)) {
+ &SYSTEM ("$CP ../mswin/$exec.exe $w32_bindir/");
+ push (@exec, $exec);
+ }
+ #for my $exec (qw(ctxtools pstopdf)) {
+ #
+ #}
+ #
+ # mtxrun on Windows needs more than just the .exe.
+ &xchdir ("../mswin");
+ &SYSTEM ("$CP mtxrun.exe mtxrun.dll mtxrun.lua $w32_bindir/");
+
print "still POST$package - man pages\n";
- &xchdir ("$DEST/doc/$package/scripts/mkiv");
+ &xchdir ("$DEST/doc/$package/scripts");
my $mandest = "$TOPDEST/texmf/doc/man/man1";
&xmkdir ($mandest);
for my $exec (@exec) {
- &SYSTEM ("$CP $exec.man $mandest/$exec.1");
+ # man pages might be under mkii or mkiv, just check both.
+ my $mansrc = (-r "mkii/$exec.man" ? "mkii/$exec.man" : "mkiv/$exec.man");
+ &SYSTEM ("$CP $mansrc $mandest/$exec.1");
}
&tl_man_to_pdf ();
}