From daa265a214b9e12e2a9bab636398c2dd699f7cd4 Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Mon, 18 Apr 2022 05:56:03 +0000 Subject: work on win64 support git-svn-id: svn://tug.org/texlive/trunk@63066 c570f23f-e606-0410-a88d-b1316a301751 --- Master/tlpkg/libexec/ctan2tds | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'Master/tlpkg/libexec/ctan2tds') diff --git a/Master/tlpkg/libexec/ctan2tds b/Master/tlpkg/libexec/ctan2tds index 082479e952a..2a072498627 100755 --- a/Master/tlpkg/libexec/ctan2tds +++ b/Master/tlpkg/libexec/ctan2tds @@ -4401,7 +4401,7 @@ sub doscripts { my $platdir = "$TOPDEST/bin/$p"; &xmkdir ($platdir); # - if ($p ne "win32") { + if (($p ne "win32") && ($p ne "win64")) { my $linktarget = "../../$DEST_TREE/scripts/$package/$s"; &SYSTEM ("ln -s $linktarget $platdir/$linkname"); # @@ -6250,6 +6250,7 @@ sub POSTbiber { # biber uses different platform names. my %tl_platform = ( "MSWIN32" => "win32", + "MSWIN64" => "win64", "amd64-freebsd" => "amd64-freebsd", "cygwin32" => "i386-cygwin", "cygwin64" => "x86_64-cygwin", @@ -6397,7 +6398,9 @@ sub POSTcontext { # Build linked_scripts dir. The executables are cherry-picked from # ConTeXt's stubs directory. my $w32_bindir = "$TOPDEST/bin/win32"; + my $w64_bindir = "$TOPDEST/bin/win64"; &xmkdir ($w32_bindir); + &xmkdir ($w64_bindir); # my $pkg_subdir = "stubs/unix"; # where hans keeps them &xchdir ("$DEST/scripts/$package/$pkg_subdir"); @@ -6408,11 +6411,13 @@ sub POSTcontext { &bindirs_symlink ($exec); &build_scripts_copy ($exec, $pkg_subdir); &SYSTEM ("$CP ../mswin/$exec.exe $w32_bindir/"); + &SYSTEM ("$CP ../mswin/$exec.exe $w64_bindir/"); push (@exec, $exec); } # mtxrun on Windows needs more than just the .exe. &xchdir ("../mswin"); &SYSTEM ("$CP mtxrun.dll mtxrun.lua $w32_bindir/"); + &SYSTEM ("$CP mtxrun.dll mtxrun.lua $w64_bindir/"); print "still POST$package - man pages\n"; &xchdir ("$DEST/doc/$package/scripts"); @@ -6452,6 +6457,7 @@ sub bindirs_symlink { chomp (my @platforms = `cd $Master/bin && ls`); for my $p (@platforms) { next if $p eq "win32"; # windows handled separately + next if $p eq "win64"; # windows handled separately next if $p eq "man"; # non-platform pain my $platdir = "$TOPDEST/bin/$p"; &xmkdir ($platdir); @@ -6965,6 +6971,7 @@ sub POSTmptopdf { # commonalities doesn't make sense. Sigh. print "POST$package - user-level executables\n"; my $w32_bindir = "$TOPDEST/bin/win32"; + my $w64_bindir = "$TOPDEST/bin/win64"; &xmkdir ($w32_bindir); # my $pkg_subdir = "perl"; # where hans keeps it @@ -6982,6 +6989,7 @@ sub POSTmptopdf { my $build_tldir = "texk/texlive"; my $w32_wrapper = "$Build/$build_tldir/w32_wrapper/runscript.exe"; &SYSTEM ("$CP $w32_wrapper $w32_bindir/mptopdf.exe"); + &SYSTEM ("$CP $w32_wrapper $w64_bindir/mptopdf.exe"); # print "still POST$package - man page\n"; &xchdir ("$DEST/doc/context/scripts/mkii"); -- cgit v1.2.3