]> git.e2factory.org Git - e2factory.git/commitdiff
Remove lua-version-map.lua.in, it appears to be unused
authorTobias Ulmer <tu@emlix.com>
Tue, 7 Aug 2012 14:25:30 +0000 (16:25 +0200)
committerTobias Ulmer <tu@emlix.com>
Mon, 13 Aug 2012 10:22:07 +0000 (12:22 +0200)
Signed-off-by: Tobias Ulmer <tu@emlix.com>
generic/Makefile
generic/lua-version-map.lua.in [deleted file]
global/Makefile

index 144c60a86a5636a16e7d91e702c318299eabf399..f5e5a2d1f2c6db1bcd98f3df3eb973e77f1f8dab 100644 (file)
@@ -32,7 +32,7 @@ TOPLEVEL = ..
 
 include $(TOPLEVEL)/make.vars
 
-CLEAN_FILES = *~ *.lc *.o *.so lua-version-map.lua
+CLEAN_FILES = *~ *.lc *.o *.so
 
 
 .PHONY: all install uninstall local install-local clean
diff --git a/generic/lua-version-map.lua.in b/generic/lua-version-map.lua.in
deleted file mode 100644 (file)
index 049557c..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
---[[
-   e2factory, the emlix embedded build system
-
-   Copyright (C) 2007-2009 Gordon Hecker <gh@emlix.com>, emlix GmbH
-   Copyright (C) 2007-2009 Oskar Schirmer <os@emlix.com>, emlix GmbH
-   Copyright (C) 2007-2008 Felix Winkelmann, emlix GmbH
-
-   For more information have a look at http://www.e2factory.org
-
-   e2factory is a registered trademark by emlix GmbH.
-
-   This file is part of e2factory, the emlix embedded build system.
-
-   e2factory is free software: you can redistribute it and/or modify
-   it under the terms of the GNU General Public License as published by
-   the Free Software Foundation, either version 3 of the License, or
-   (at your option) any later version.
-
-   This program is distributed in the hope that it will be useful,
-   but WITHOUT ANY WARRANTY; without even the implied warranty of
-   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-   GNU General Public License for more details.
-
-   You should have received a copy of the GNU General Public License
-   along with this program.  If not, see <http://www.gnu.org/licenses/>.
-]]
-
--- Map e2-versions to Lua interpreter versions
-
-
-lua_versions = {
-  [ "1" ] = "5.1.2",
-  [ "2" ] = "5.1.3",
-  latest = "@LUA_VERSION@"
-}
-
-function lua_versions.get_version(e2_version)
-  local v = e2_version or buildconfig.VERSION
-  local lv = lua_versions[ v ]
-  return lv or lua_versions.latest
-end
index 4ab595d2f402b87484af836c9199ab8e0230ee17..74c7cc70d1830629e6fb80f766cef6c412f3f430 100644 (file)
@@ -38,7 +38,7 @@ GLOBALTOOLS = $(GLOBALLUATOOLS) $(GLOBALSHTOOLS)
 CLEAN_FILES = *~ $(GLOBALTOOLS) *.lc e2 $(SCRIPTS) *.lua e2-su *.sh e2.conf
 LUA_LIBS = strict.lua collection.lua plugin.lua e2lib.lua
 LUA_LIBS += e2option.lua hash.lua tools.lua transport.lua cache.lua url.lua
-LUA_LIBS += generic_git.lua luafile.lua lua-version-map.lua err.lua lock.lua
+LUA_LIBS += generic_git.lua luafile.lua err.lua lock.lua
 LUA_LIBS += buildconfig.lua
 
 .PHONY: all install uninstall clean