From d8ec5ea64ef077926bbda689864266ec8ff21793 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Thu, 10 Aug 2017 22:18:48 +0000 Subject: latexdef link needed (dbitouze mail 10 Aug 2017 19:18:56) git-svn-id: svn://tug.org/texlive/trunk@45011 c570f23f-e606-0410-a88d-b1316a301751 --- Build/source/texk/texlive/linked_scripts/Makefile.am | 3 ++- Build/source/texk/texlive/linked_scripts/Makefile.in | 1 + Master/bin/amd64-freebsd/latexdef | 1 + Master/bin/amd64-netbsd/latexdef | 1 + Master/bin/armel-linux/latexdef | 1 + Master/bin/armhf-linux/latexdef | 1 + Master/bin/i386-cygwin/latexdef | 1 + Master/bin/i386-darwin/latexdef | 1 + Master/bin/i386-freebsd/latexdef | 1 + Master/bin/i386-linux/latexdef | 1 + Master/bin/i386-netbsd/latexdef | 1 + Master/bin/i386-solaris/latexdef | 1 + Master/bin/powerpc-darwin/latexdef | 1 + Master/bin/powerpc-linux/latexdef | 1 + Master/bin/sparc-solaris/latexdef | 1 + Master/bin/win32/latexdef.exe | Bin 0 -> 1536 bytes Master/bin/x86_64-cygwin/latexdef | 1 + Master/bin/x86_64-darwin/latexdef | 1 + Master/bin/x86_64-darwinlegacy/latexdef | 1 + Master/bin/x86_64-linux/latexdef | 1 + Master/bin/x86_64-solaris/latexdef | 1 + Master/tlpkg/libexec/ctan2tds | 13 +++++++++++-- Master/tlpkg/tlpsrc/texdef.tlpsrc | 1 + 23 files changed, 33 insertions(+), 3 deletions(-) create mode 120000 Master/bin/amd64-freebsd/latexdef create mode 120000 Master/bin/amd64-netbsd/latexdef create mode 120000 Master/bin/armel-linux/latexdef create mode 120000 Master/bin/armhf-linux/latexdef create mode 120000 Master/bin/i386-cygwin/latexdef create mode 120000 Master/bin/i386-darwin/latexdef create mode 120000 Master/bin/i386-freebsd/latexdef create mode 120000 Master/bin/i386-linux/latexdef create mode 120000 Master/bin/i386-netbsd/latexdef create mode 120000 Master/bin/i386-solaris/latexdef create mode 120000 Master/bin/powerpc-darwin/latexdef create mode 120000 Master/bin/powerpc-linux/latexdef create mode 120000 Master/bin/sparc-solaris/latexdef create mode 100755 Master/bin/win32/latexdef.exe create mode 120000 Master/bin/x86_64-cygwin/latexdef create mode 120000 Master/bin/x86_64-darwin/latexdef create mode 120000 Master/bin/x86_64-darwinlegacy/latexdef create mode 120000 Master/bin/x86_64-linux/latexdef create mode 120000 Master/bin/x86_64-solaris/latexdef diff --git a/Build/source/texk/texlive/linked_scripts/Makefile.am b/Build/source/texk/texlive/linked_scripts/Makefile.am index 36800bf705d..b240e051c17 100644 --- a/Build/source/texk/texlive/linked_scripts/Makefile.am +++ b/Build/source/texk/texlive/linked_scripts/Makefile.am @@ -222,8 +222,9 @@ nobase_dist_texmf_scripts_SCRIPTS = \ $(texmf_other_scripts) \ $(texmf_context_scripts) -## Symlinks within $(bindir): FILE:LINK indicates LINK->FILE +## Symlinks within $(bindir): FILE:LINK here means "ln -s FILE LINK" is done. bin_links = \ + texdef:latexdef \ epstopdf:repstopdf \ pdfcrop:rpdfcrop diff --git a/Build/source/texk/texlive/linked_scripts/Makefile.in b/Build/source/texk/texlive/linked_scripts/Makefile.in index 801362e7a27..7b8a70f307a 100644 --- a/Build/source/texk/texlive/linked_scripts/Makefile.in +++ b/Build/source/texk/texlive/linked_scripts/Makefile.in @@ -435,6 +435,7 @@ nobase_dist_texmf_scripts_SCRIPTS = \ $(texmf_context_scripts) bin_links = \ + texdef:latexdef \ epstopdf:repstopdf \ pdfcrop:rpdfcrop diff --git a/Master/bin/amd64-freebsd/latexdef b/Master/bin/amd64-freebsd/latexdef new file mode 120000 index 00000000000..6a133bd5a45 --- /dev/null +++ b/Master/bin/amd64-freebsd/latexdef @@ -0,0 +1 @@ +texdef \ No newline at end of file diff --git a/Master/bin/amd64-netbsd/latexdef b/Master/bin/amd64-netbsd/latexdef new file mode 120000 index 00000000000..6a133bd5a45 --- /dev/null +++ b/Master/bin/amd64-netbsd/latexdef @@ -0,0 +1 @@ +texdef \ No newline at end of file diff --git a/Master/bin/armel-linux/latexdef b/Master/bin/armel-linux/latexdef new file mode 120000 index 00000000000..6a133bd5a45 --- /dev/null +++ b/Master/bin/armel-linux/latexdef @@ -0,0 +1 @@ +texdef \ No newline at end of file diff --git a/Master/bin/armhf-linux/latexdef b/Master/bin/armhf-linux/latexdef new file mode 120000 index 00000000000..6a133bd5a45 --- /dev/null +++ b/Master/bin/armhf-linux/latexdef @@ -0,0 +1 @@ +texdef \ No newline at end of file diff --git a/Master/bin/i386-cygwin/latexdef b/Master/bin/i386-cygwin/latexdef new file mode 120000 index 00000000000..6a133bd5a45 --- /dev/null +++ b/Master/bin/i386-cygwin/latexdef @@ -0,0 +1 @@ +texdef \ No newline at end of file diff --git a/Master/bin/i386-darwin/latexdef b/Master/bin/i386-darwin/latexdef new file mode 120000 index 00000000000..6a133bd5a45 --- /dev/null +++ b/Master/bin/i386-darwin/latexdef @@ -0,0 +1 @@ +texdef \ No newline at end of file diff --git a/Master/bin/i386-freebsd/latexdef b/Master/bin/i386-freebsd/latexdef new file mode 120000 index 00000000000..6a133bd5a45 --- /dev/null +++ b/Master/bin/i386-freebsd/latexdef @@ -0,0 +1 @@ +texdef \ No newline at end of file diff --git a/Master/bin/i386-linux/latexdef b/Master/bin/i386-linux/latexdef new file mode 120000 index 00000000000..6a133bd5a45 --- /dev/null +++ b/Master/bin/i386-linux/latexdef @@ -0,0 +1 @@ +texdef \ No newline at end of file diff --git a/Master/bin/i386-netbsd/latexdef b/Master/bin/i386-netbsd/latexdef new file mode 120000 index 00000000000..6a133bd5a45 --- /dev/null +++ b/Master/bin/i386-netbsd/latexdef @@ -0,0 +1 @@ +texdef \ No newline at end of file diff --git a/Master/bin/i386-solaris/latexdef b/Master/bin/i386-solaris/latexdef new file mode 120000 index 00000000000..6a133bd5a45 --- /dev/null +++ b/Master/bin/i386-solaris/latexdef @@ -0,0 +1 @@ +texdef \ No newline at end of file diff --git a/Master/bin/powerpc-darwin/latexdef b/Master/bin/powerpc-darwin/latexdef new file mode 120000 index 00000000000..6a133bd5a45 --- /dev/null +++ b/Master/bin/powerpc-darwin/latexdef @@ -0,0 +1 @@ +texdef \ No newline at end of file diff --git a/Master/bin/powerpc-linux/latexdef b/Master/bin/powerpc-linux/latexdef new file mode 120000 index 00000000000..6a133bd5a45 --- /dev/null +++ b/Master/bin/powerpc-linux/latexdef @@ -0,0 +1 @@ +texdef \ No newline at end of file diff --git a/Master/bin/sparc-solaris/latexdef b/Master/bin/sparc-solaris/latexdef new file mode 120000 index 00000000000..6a133bd5a45 --- /dev/null +++ b/Master/bin/sparc-solaris/latexdef @@ -0,0 +1 @@ +texdef \ No newline at end of file diff --git a/Master/bin/win32/latexdef.exe b/Master/bin/win32/latexdef.exe new file mode 100755 index 00000000000..5777d90a17a Binary files /dev/null and b/Master/bin/win32/latexdef.exe differ diff --git a/Master/bin/x86_64-cygwin/latexdef b/Master/bin/x86_64-cygwin/latexdef new file mode 120000 index 00000000000..6a133bd5a45 --- /dev/null +++ b/Master/bin/x86_64-cygwin/latexdef @@ -0,0 +1 @@ +texdef \ No newline at end of file diff --git a/Master/bin/x86_64-darwin/latexdef b/Master/bin/x86_64-darwin/latexdef new file mode 120000 index 00000000000..6a133bd5a45 --- /dev/null +++ b/Master/bin/x86_64-darwin/latexdef @@ -0,0 +1 @@ +texdef \ No newline at end of file diff --git a/Master/bin/x86_64-darwinlegacy/latexdef b/Master/bin/x86_64-darwinlegacy/latexdef new file mode 120000 index 00000000000..6a133bd5a45 --- /dev/null +++ b/Master/bin/x86_64-darwinlegacy/latexdef @@ -0,0 +1 @@ +texdef \ No newline at end of file diff --git a/Master/bin/x86_64-linux/latexdef b/Master/bin/x86_64-linux/latexdef new file mode 120000 index 00000000000..6a133bd5a45 --- /dev/null +++ b/Master/bin/x86_64-linux/latexdef @@ -0,0 +1 @@ +texdef \ No newline at end of file diff --git a/Master/bin/x86_64-solaris/latexdef b/Master/bin/x86_64-solaris/latexdef new file mode 120000 index 00000000000..6a133bd5a45 --- /dev/null +++ b/Master/bin/x86_64-solaris/latexdef @@ -0,0 +1 @@ +texdef \ No newline at end of file diff --git a/Master/tlpkg/libexec/ctan2tds b/Master/tlpkg/libexec/ctan2tds index 6e0ea82a7b9..53da86c804d 100755 --- a/Master/tlpkg/libexec/ctan2tds +++ b/Master/tlpkg/libexec/ctan2tds @@ -3648,8 +3648,13 @@ sub doscripts { &SYSTEM ("ln -s $linktarget $platdir/$linkname"); # # Scripts with special cases. + # xx should merge with bin_links in + # Build/source/texk/texlive/linked_scripts/Makefile.am, sigh. &SYSTEM ("ln -s $linkname $platdir/r$linkname") - if $linkname =~ /pdfcrop|epstopdf/; # rpdfcrop ->pdfcrop, ... + if $linkname =~ /^(pdfcrop|epstopdf)$/; # rpdfcrop ->pdfcrop, ... + + &SYSTEM ("ln -s $linkname $platdir/latexdef") + if $linkname eq "texdef"; # latexdef->texdef } else { # Windows. If a shell script, usually skip. Else copy the wrapper. @@ -3683,10 +3688,14 @@ sub doscripts { next; # no wrapper } + # xx here too should merge with bin_links in + # Build/source/texk/texlive/linked_scripts/Makefile.am, sigh. 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 + if $linkname =~ /^(pdfcrop|epstopdf)/; # r{pdfcrop,epstopdf}.exe + &SYSTEM ("$CP $w32_wrapper $platdir/latexdef.exe") + if $linkname eq "texdef"; # latexdef->texdef } } } diff --git a/Master/tlpkg/tlpsrc/texdef.tlpsrc b/Master/tlpkg/tlpsrc/texdef.tlpsrc index dca338c719c..86013f565b8 100644 --- a/Master/tlpkg/tlpsrc/texdef.tlpsrc +++ b/Master/tlpkg/tlpsrc/texdef.tlpsrc @@ -1 +1,2 @@ binpattern f bin/${ARCH}/${PKGNAME} +binpattern f bin/${ARCH}/la${PKGNAME} -- cgit v1.2.3