diff options
author | Norbert Preining <preining@logic.at> | 2008-02-09 12:48:36 +0000 |
---|---|---|
committer | Norbert Preining <preining@logic.at> | 2008-02-09 12:48:36 +0000 |
commit | 8a6d175dddc5f5adce92e219dbcc97fbe9fc495a (patch) | |
tree | 269474338acbb58261a2df21495c9d21d34526bb /Master | |
parent | 634f5580092c24fc0e3ba18bd0883e667da4614f (diff) |
remove the generate scripts, add texluia-perl-runner
git-svn-id: svn://tug.org/texlive/trunk@6586 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
-rwxr-xr-x | Master/bin/i386-linux/generate-fmtutil | 54 | ||||
-rwxr-xr-x | Master/bin/i386-linux/generate-language | 54 | ||||
-rwxr-xr-x | Master/bin/i386-linux/texlua-perl-runner (renamed from Master/bin/i386-linux/generate-updmap) | 5 |
3 files changed, 2 insertions, 111 deletions
diff --git a/Master/bin/i386-linux/generate-fmtutil b/Master/bin/i386-linux/generate-fmtutil deleted file mode 100755 index 9aeaf6917f0..00000000000 --- a/Master/bin/i386-linux/generate-fmtutil +++ /dev/null @@ -1,54 +0,0 @@ -#!/usr/bin/env texlua ---*-Lua-*- --- $Id: generate-fmtutil.texlua 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. - - -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$", "")) - -basename="generate-fmtutil" - -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) - diff --git a/Master/bin/i386-linux/generate-language b/Master/bin/i386-linux/generate-language deleted file mode 100755 index 233cc93bf2b..00000000000 --- a/Master/bin/i386-linux/generate-language +++ /dev/null @@ -1,54 +0,0 @@ -#!/usr/bin/env texlua ---*-Lua-*- --- $Id: generate-language.texlua 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. - - -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$", "")) - -basename="generate-language" - -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) - diff --git a/Master/bin/i386-linux/generate-updmap b/Master/bin/i386-linux/texlua-perl-runner index b11dfb723d9..ca2bfbf7418 100755 --- a/Master/bin/i386-linux/generate-updmap +++ b/Master/bin/i386-linux/texlua-perl-runner @@ -1,11 +1,12 @@ #!/usr/bin/env texlua --*-Lua-*- --- $Id: generate-updmap.texlua 6485 2008-02-01 20:15:06Z reinhardk $ +-- $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 @@ -18,8 +19,6 @@ end basename=select(1, string.gsub(filename, "\.texlua$", "")) -basename="generate-updmap" - kpse.set_program_name(filename) TEXDIR=kpse.var_value("SELFAUTOPARENT") |