summaryrefslogtreecommitdiff
path: root/Master/tlpkg/libexec/ctan2tds
diff options
context:
space:
mode:
Diffstat (limited to 'Master/tlpkg/libexec/ctan2tds')
-rwxr-xr-xMaster/tlpkg/libexec/ctan2tds9
1 files changed, 8 insertions, 1 deletions
diff --git a/Master/tlpkg/libexec/ctan2tds b/Master/tlpkg/libexec/ctan2tds
index 7d234903c79..a8fa9231386 100755
--- a/Master/tlpkg/libexec/ctan2tds
+++ b/Master/tlpkg/libexec/ctan2tds
@@ -1515,6 +1515,7 @@ chomp ($Build = `cd $Master/../Build/source && pwd`);
'thumbpdf' => '&POST_preserve_man',
'tikz-cd' => '&POSTtikz_cd',
'tipa-de' => '&POST_rmsymlink',
+ 'tlcockpit' => '&POST_do_man',
'tudscr' => '&POSTtudscr',
'uplatex' => '&POST_preserve_man',
'velthuis' => '&POSTvelthuis',
@@ -3180,6 +3181,7 @@ $standardttf = '\.ttf|\.TTC';
'texdoc' => '\.1$',
'texfot' => '\.1$',
'texdirflatten' => 'texdirflatten.1',
+ 'tlcockpit' => '\.man$',
'webquiz' => '\.1$',
'wheretotrim' => '\.1$',
);
@@ -3956,10 +3958,15 @@ sub doscripts {
next; # no wrapper
}
+ # next bit of ugliness: can be better to use the GUI wrapper
+ # wrunscript.exe (which only exists in Master/bin/win32) instead
+ # of the usual runscript.exe
+ my $w32_wrapper = "$Master/bin/win32/"
+ . ($s eq "tlcockpit.sh" ? "wrunscript.exe" : "runscript.exe");
+ #
# xx here too, should merge with bin_links in
# Build/source/texk/texlive/linked_scripts/Makefile.am,
# or at least with above duplicated code.
- my $w32_wrapper = "$Build/$build_tldir/w32_wrapper/runscript.exe";
&SYSTEM ("$CP $w32_wrapper $platdir/$linkname.exe");
&SYSTEM ("$CP $w32_wrapper $platdir/r$linkname.exe")
if $linkname =~ /^(pdfcrop|epstopdf)/; # r{pdfcrop,epstopdf}.exe