diff options
-rwxr-xr-x | Master/bin/win32/mptopdf.exe | bin | 6144 -> 1536 bytes | |||
-rwxr-xr-x | Master/tlpkg/libexec/ctan2tds | 10 |
2 files changed, 9 insertions, 1 deletions
diff --git a/Master/bin/win32/mptopdf.exe b/Master/bin/win32/mptopdf.exe Binary files differindex 2d45f27494d..5777d90a17a 100755 --- a/Master/bin/win32/mptopdf.exe +++ b/Master/bin/win32/mptopdf.exe diff --git a/Master/tlpkg/libexec/ctan2tds b/Master/tlpkg/libexec/ctan2tds index 3bbeff1622a..3355ca94251 100755 --- a/Master/tlpkg/libexec/ctan2tds +++ b/Master/tlpkg/libexec/ctan2tds @@ -5023,6 +5023,8 @@ sub build_scripts_copy { &SYSTEM ("$CP $exec $builddir/"); # Warn if missing from the Makefile.am in the sources. + # (but not for mptopdf, since peb unified it.) + return if $exec =~ /mptopdf/; (my $exec_basename = $exec) =~ s,^.*/,,; my $scripts_Makefile = "$Build/$build_scriptsdir/Makefile.in"; my $pattern = "\\b$build_subdir/$exec_basename\\b"; @@ -5045,7 +5047,13 @@ sub POSTmptopdf { my $exec = "mptopdf.pl"; &bindirs_symlink ($exec); &build_scripts_copy ($exec, $pkg_subdir); - &SYSTEM ("$CP ../stubs/mswin/mptopdf.exe $w32_bindir/"); + # + # but for windows, use our wrapper rather than ConTeXt's, + # since the whole point is to have mptopdf available without ConTeXt. + + my $build_tldir = "texk/texlive"; + my $w32_wrapper = "$Build/$build_tldir/w32_wrapper/runscript.exe"; + &SYSTEM ("$CP $w32_wrapper $w32_bindir/mptopdf.exe"); # print "still POST$package - man page\n"; &xchdir ("$DEST/doc/context/scripts/mkii"); |