From ca1314ef7ab02f875ffc26be058df95691234faf Mon Sep 17 00:00:00 2001 From: Philipp Gesang Date: Sat, 12 Dec 2015 15:17:20 +0100 Subject: [mkimport,build] integrate with main makefile --- scripts/mkimport | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'scripts') diff --git a/scripts/mkimport b/scripts/mkimport index e5fa723..b3c71fe 100755 --- a/scripts/mkimport +++ b/scripts/mkimport @@ -96,7 +96,6 @@ local prefixes = { --doc]]-- -local loader_merge_name = "luaotfload-package.lua" local loader_target_name = "fontloader-%s.lua" local loader_orig_dir = "/src/fontloader/" local loader_target_dir = "/build/" @@ -771,7 +770,6 @@ local build_paths = function (argv) local base_dir = orig_dir .. loader_orig_dir local loader_name = stringformat (loader_target_name, os.date ("%F")) local target_name = orig_dir .. loader_target_dir .. loader_name - local merge_name = base_dir .. loader_merge_name if #argv >= 2 then local fname = argv[2] @@ -781,7 +779,7 @@ local build_paths = function (argv) argv[2]) end base_dir = dir - merge_name = fname + target_name = fname end if #argv == 3 then @@ -899,7 +897,6 @@ local package = function (argv) --- check preconditions if not lfsisdir (paths.base_dir) then die ("directory %s does not exist", emphasis (paths.base_dir )) end - if not lfsisfile (paths.merge_name) then die ("missing merge file at %s", emphasis (paths.merge_name )) end if not fileiswritable (paths.target_name) then die ("cannot write to %s", emphasis (paths.target_name)) end ---- not lfschdir (paths.base_dir) then die ("failed to cd into %s", emphasis (paths.base_dir )) end -- cgit v1.2.3