diff options
author | Norbert Preining <preining@logic.at> | 2008-04-21 07:16:17 +0000 |
---|---|---|
committer | Norbert Preining <preining@logic.at> | 2008-04-21 07:16:17 +0000 |
commit | af7c5e617f7f1e4e92c24b477e793b24e86b4416 (patch) | |
tree | 27ba7e00deffe94d0256c932fd39696630329987 /Build/source | |
parent | 1c2f73cbeb92f465c07a1fb8949c47ed84a36bce (diff) |
remove old texlua-perl-runner
git-svn-id: svn://tug.org/texlive/trunk@7567 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source')
-rw-r--r-- | Build/source/texk/texlive/Makefile.in | 6 | ||||
-rwxr-xr-x | Build/source/texk/texlive/texlua-perl-runner | 53 |
2 files changed, 0 insertions, 59 deletions
diff --git a/Build/source/texk/texlive/Makefile.in b/Build/source/texk/texlive/Makefile.in index cd1bfb1d9cc..d6021adc0c0 100644 --- a/Build/source/texk/texlive/Makefile.in +++ b/Build/source/texk/texlive/Makefile.in @@ -10,8 +10,6 @@ LIVESCRIPTS = simpdftex \ ebong getnonfreefonts giftopng \ pdfthumb wordcount.sh -TEXLUARUNNERS = - manpgs = getnonfreefonts getnonfreefonts-sys all: $(LIVESCRIPTS) @@ -33,10 +31,6 @@ install-exec: done rm -f $(scriptdir)/getnonfreefonts-sys ln -s getnonfreefonts $(scriptdir)/getnonfreefonts-sys - for s in $(TEXLUARUNNERS); do \ - rm -f $(scriptdir)/$$s ; \ - ln -s texlua-perl-runner $(scriptdir)/$$s; \ - done kpse_include ../make/clean.mk diff --git a/Build/source/texk/texlive/texlua-perl-runner b/Build/source/texk/texlive/texlua-perl-runner deleted file mode 100755 index ca2bfbf7418..00000000000 --- a/Build/source/texk/texlive/texlua-perl-runner +++ /dev/null @@ -1,53 +0,0 @@ -#!/usr/bin/env texlua ---*-Lua-*- --- $Id: texlua-perl-runner 6485 2008-02-01 20:15:06Z reinhardk $ - --- Copyright (C) 2007 2008 Reinhard Kotucha, Norbert Preining --- You may freely use, modify and/or distribute this file. - --- Wrapper for Perl scripts. --- Support for -sys variants - - -if string.find(arg[0], "/") then -- UNIX path - filename=select(1, string.gsub(arg[0], ".*/", "")) -elseif string.find(arg[0], "\\") then -- Windows path - filename=select(1, string.gsub(arg[0], ".*\\", "")) -else -- no path - filename=arg[0] -end - -basename=select(1, string.gsub(filename, "\.texlua$", "")) - -kpse.set_program_name(filename) - -TEXDIR=kpse.var_value("SELFAUTOPARENT") - --- if we are on win32 we have to use the shipped perl -perlbin="perl" -if (os.type == "windows") then - os.setenv("PERL5LIB", TEXDIR.."/tlpkg/tlperl/lib") - perlbin=TEXDIR.."/tlpkg/tlperl/bin/perl.exe" -end - -script=kpse.find_file(basename..".pl", "texmfscripts") - -if (not(script)) then - print ("Cannot find "..basename..".pl".." using kpse, exiting!") - os.exit(1) -end - -if (os.type == "windows") then - command={'"'..perlbin..'"', '"'..script..'"'} -else - command={ perlbin, script } -end -command[0] = perlbin - -for i=1, #arg do - command[#command+1]=arg[i] -end - -ret=os.spawn(command) -os.exit(ret) - |