From 8ec1f4835956c61fa351f5c3a6052fbf84ba12ef Mon Sep 17 00:00:00 2001 From: Tobias Ulmer Date: Tue, 7 Aug 2012 16:25:30 +0200 Subject: [PATCH] Remove lua-version-map.lua.in, it appears to be unused Signed-off-by: Tobias Ulmer --- generic/Makefile | 2 +- generic/lua-version-map.lua.in | 41 ---------------------------------- global/Makefile | 2 +- 3 files changed, 2 insertions(+), 43 deletions(-) delete mode 100644 generic/lua-version-map.lua.in diff --git a/generic/Makefile b/generic/Makefile index 144c60a..f5e5a2d 100644 --- a/generic/Makefile +++ b/generic/Makefile @@ -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 index 049557c..0000000 --- a/generic/lua-version-map.lua.in +++ /dev/null @@ -1,41 +0,0 @@ ---[[ - e2factory, the emlix embedded build system - - Copyright (C) 2007-2009 Gordon Hecker , emlix GmbH - Copyright (C) 2007-2009 Oskar Schirmer , 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 . -]] - --- 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 diff --git a/global/Makefile b/global/Makefile index 4ab595d..74c7cc7 100644 --- a/global/Makefile +++ b/global/Makefile @@ -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 -- 2.39.5