diff options
Diffstat (limited to 'Master/tlpkg')
-rwxr-xr-x | Master/tlpkg/libexec/ctan2tds | 18 | ||||
-rw-r--r-- | Master/tlpkg/tlpsrc/lua2dox.tlpsrc | 1 |
2 files changed, 11 insertions, 8 deletions
diff --git a/Master/tlpkg/libexec/ctan2tds b/Master/tlpkg/libexec/ctan2tds index 3fc1f2a984e..d7ddcba4b80 100755 --- a/Master/tlpkg/libexec/ctan2tds +++ b/Master/tlpkg/libexec/ctan2tds @@ -1888,6 +1888,7 @@ $standardsource='\.(bat|c|drv|dtx|fea|fdd|ins|sfd)$|configure.*|install-sh'; 'latex2man', 'NULL', # leave Makefile 'latexdiff', 'NULL', # leave Makefile 'lua-alt-getopt', 'NULL', + 'lua2dox', 'NULL', # process lua2dox_filter.bat 'mdframed', 'Makefile|' . $standardsource, 'mff', '\.mfj|\.bat|\.diz', 'microtype-de', 'NULL', # doc package @@ -2307,7 +2308,7 @@ $standardxmt='\.xmt'; 'listbib' => 'listbib$', 'listings-ext' => '\.sh$', 'ltxfileinfo' => 'ltxfileinfo$', - 'lua2dox' => 'lua2dox_lua$', # doscripts() does _filter + 'lua2dox' => 'lua2dox_filter?$', 'match_parens' => '^match_parens$', 'mathspic' => '^mathspic\.pl$', 'mf2pt1' => '\.pl$', @@ -3029,19 +3030,22 @@ sub doscripts { # Scripts with special cases. &SYSTEM ("ln -s $linkname $platdir/r$linkname") if $linkname =~ /pdfcrop|epstopdf/; # rpdfcrop -> pdfcrop - &SYSTEM ("ln -s $linkname $platdir/lua2dox_filter") - if $linkname =~ /lua2dox_lua/; # lua2dox_filter -> lua2dox_lua } else { # Windows. If a shell script, skip. Else copy the wrapper. - next if $s =~ /\.sh$|lua2dox/ && $s !~ /-sys\.sh$/; - # should really match texmf_dist_shell_scripts in + next if $s =~ /\.sh$/ && $s !~ /-sys\.sh$/; + # + # We need to change this match texmf_dist_shell_scripts in # linked_scripts/Makefile.am. next if $s =~ /dtxfilegen|ltxfileinfo/; + # + if ($s eq "lua2dox_filter") { # handwritten .bat + &SYSTEM ("$MV $s.bat $platdir/"); + next; # no wrapper + } 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/; # rpdfcrop.exe + if $linkname =~ /pdfcrop|epstopdf/; # rpdfcrop.exe, repstopdf.exe } } } diff --git a/Master/tlpkg/tlpsrc/lua2dox.tlpsrc b/Master/tlpkg/tlpsrc/lua2dox.tlpsrc index 9a845a9d030..2130e0bd95c 100644 --- a/Master/tlpkg/tlpsrc/lua2dox.tlpsrc +++ b/Master/tlpkg/tlpsrc/lua2dox.tlpsrc @@ -1,2 +1 @@ -binpattern f bin/${ARCH}/lua2dox_lua binpattern f bin/${ARCH}/lua2dox_filter |