From: Gordon Hecker Date: Fri, 18 Sep 2009 14:52:19 +0000 (+0200) Subject: remove module with unused convenience functions X-Git-Tag: e2factory-2.3.2rc1~60 X-Git-Url: https://git.e2factory.org/?a=commitdiff_plain;h=7fb1a8da78a7132badcca7f24c356ebb6d55c51a;p=e2factory.git remove module with unused convenience functions Signed-off-by: Gordon Hecker --- diff --git a/generic/Makefile b/generic/Makefile index 1bc2783..c91d4c1 100644 --- a/generic/Makefile +++ b/generic/Makefile @@ -76,14 +76,14 @@ clean: e2generic_global.lc: strict.lua collection.lua e2lib_global_prefix.lua \ e2lib.lua e2option.lua sha1.lua \ transport.lua cache.lua url.lua scm.git.lua \ - convenience.lua luafile.lua lua-version-map.lua \ + luafile.lua lua-version-map.lua \ error.lua $(BUILD_LUAC) -o $@ $^ e2generic_local.lc: strict.lua collection.lua e2lib_local_prefix.lua \ e2lib.lua e2option.lua sha1.lua \ transport.lua cache.lua url.lua scm.git.lua \ - convenience.lua luafile.lua lua-version-map.lua + luafile.lua lua-version-map.lua $(LUAC) -o $@ $^ %: %.in diff --git a/generic/convenience.lua b/generic/convenience.lua deleted file mode 100644 index 11fbce9..0000000 --- a/generic/convenience.lua +++ /dev/null @@ -1,45 +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 . -]] - --- print table (see collection.lua) - -function pt(t) - table.foreach(t, print) -end - --- shortcuts - -p = print -e = e2lib.bomb - -info = false - -function getinfo() - info = e2tool.collect_project_info() - p("project info collected in `info'") - return info -end diff --git a/local/Makefile b/local/Makefile index a5670d4..f19b33e 100644 --- a/local/Makefile +++ b/local/Makefile @@ -119,7 +119,6 @@ e2local.lc: $(TOPLEVEL)/generic/strict.lua \ $(TOPLEVEL)/generic/e2lib.lua \ e2tool.lua e2scm.lua git.lua svn.lua cvs.lua files.lua \ $(TOPLEVEL)/generic/e2option.lua \ - $(TOPLEVEL)/generic/convenience.lua \ $(TOPLEVEL)/generic/sha1.lua \ e2build.lua $(TOPLEVEL)/generic/luafile.lua \ policy.lua