summaryrefslogtreecommitdiff
path: root/Master/bin/win32
diff options
context:
space:
mode:
authorNorbert Preining <preining@logic.at>2008-02-20 08:58:25 +0000
committerNorbert Preining <preining@logic.at>2008-02-20 08:58:25 +0000
commita4ac519c3bef050828a4459af8d3995b4585f68d (patch)
tree974d1200797bf447f6af87c27c630a8bad5d06f8 /Master/bin/win32
parent9b9dce356c40852f73b2eda471cf90535e99ee84 (diff)
remove the various generate-* wrappers, and thex texlua-perl-runner.
The installer now copies the code from the generate-*.pl scripts and texconfig has an interface for calling these scripts git-svn-id: svn://tug.org/texlive/trunk@6687 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/bin/win32')
-rwxr-xr-xMaster/bin/win32/generate-fmtutil.texlua55
-rwxr-xr-xMaster/bin/win32/generate-language.texlua55
-rwxr-xr-xMaster/bin/win32/generate-updmap.texlua55
3 files changed, 0 insertions, 165 deletions
diff --git a/Master/bin/win32/generate-fmtutil.texlua b/Master/bin/win32/generate-fmtutil.texlua
deleted file mode 100755
index 1e16295e411..00000000000
--- a/Master/bin/win32/generate-fmtutil.texlua
+++ /dev/null
@@ -1,55 +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$", ""))
-
--- 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/win32/generate-language.texlua b/Master/bin/win32/generate-language.texlua
deleted file mode 100755
index 1ecc6d507f4..00000000000
--- a/Master/bin/win32/generate-language.texlua
+++ /dev/null
@@ -1,55 +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$", ""))
-
--- 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/win32/generate-updmap.texlua b/Master/bin/win32/generate-updmap.texlua
deleted file mode 100755
index 221f8f085df..00000000000
--- a/Master/bin/win32/generate-updmap.texlua
+++ /dev/null
@@ -1,55 +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$", ""))
-
--- basename="generate-updmap"
-
-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)
-