edit Tupfile.lua

git-svn-id: svn://kolibrios.org@7081 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
0CodErr 2017-10-10 18:54:46 +00:00
parent b4db5ef375
commit 436d50beb5
2 changed files with 9 additions and 5 deletions

View File

@ -83,7 +83,6 @@ if build_type == "rus" then tup.append_table(img_files, {
{"SETTINGS/GAME_CENTER.INI", "rus/settings/game_center.ini"},
{"SETTINGS/MYKEY.INI", PROGS .. "/system/MyKey/trunk/mykey.ini"},
{"EXAMPLE.ASM", PROGS .. "/develop/examples/example/trunk/rus/example.asm"},
{"RUN", "rus/RUN"},
{"PIPETKA", build_type .. "/pipetka"},
{"File Managers/KFAR.INI", build_type .. "/File Managers/kfar.ini"},
{"GAMES/APPDATA.DAT", build_type .. "/games/appdata.dat"},
@ -96,7 +95,6 @@ if build_type == "rus" then tup.append_table(img_files, {
{"SETTINGS/GAME_CENTER.INI", "common/settings/game_center.ini"},
{"SETTINGS/.shell", PROGS .. "/system/shell/bin/eng/.shell"},
{"EXAMPLE.ASM", PROGS .. "/develop/examples/example/trunk/example.asm"},
{"RUN", "eng/RUN"},
{"SETTINGS/MYKEY.INI", PROGS .. "/system/MyKey/trunk/mykey.ini"},
{"File Managers/KFAR.INI", "common/File Managers/kfar.ini"},
}) elseif build_type == "sp" then tup.append_table(img_files, {
@ -104,7 +102,6 @@ if build_type == "rus" then tup.append_table(img_files, {
{"SETTINGS/GAME_CENTER.INI", "common/settings/game_center.ini"},
{"SETTINGS/.shell", PROGS .. "/system/shell/bin/eng/.shell"},
{"EXAMPLE.ASM", PROGS .. "/develop/examples/example/trunk/example.asm"},
{"RUN", "sp/RUN"},
{"SETTINGS/MYKEY.INI", PROGS .. "/system/MyKey/trunk/mykey.ini"},
{"File Managers/KFAR.INI", "common/File Managers/kfar.ini"},
}) elseif build_type == "it" then tup.append_table(img_files, {
@ -112,7 +109,6 @@ if build_type == "rus" then tup.append_table(img_files, {
{"SETTINGS/GAME_CENTER.INI", "common/settings/game_center.ini"},
{"SETTINGS/.shell", PROGS .. "/system/shell/bin/eng/.shell"},
{"EXAMPLE.ASM", PROGS .. "/develop/examples/example/trunk/example.asm"},
{"RUN", "it/RUN"},
{"SETTINGS/MYKEY.INI", PROGS .. "/system/MyKey/trunk/mykey_it.ini"},
{"File Managers/KFAR.INI", "common/File Managers/kfar.ini"},
}) else tup.append_table(img_files, {
@ -120,7 +116,6 @@ if build_type == "rus" then tup.append_table(img_files, {
{"SETTINGS/GAME_CENTER.INI", "common/settings/game_center.ini"},
{"SETTINGS/.shell", PROGS .. "/system/shell/bin/eng/.shell"},
{"EXAMPLE.ASM", PROGS .. "/develop/examples/example/trunk/example.asm"},
{"RUN", "common/RUN"},
{"SETTINGS/MYKEY.INI", PROGS .. "/system/MyKey/trunk/mykey.ini"},
{"File Managers/KFAR.INI", "common/File Managers/kfar.ini"},
}) end
@ -562,6 +557,13 @@ tup.append_table(img_files, {
})
end -- tup.getconfig('NO_NASM') ~= 'full'
-- Programs that require JWASM to compile.
if tup.getconfig('NO_JWASM') ~= 'full' then
tup.append_table(img_files, {
{"RUN", PROGS .. "/system/RunOD/1/RUN"},
})
end -- tup.getconfig('NO_JWASM') ~= 'full'
-- Programs that require C-- to compile.
if tup.getconfig('NO_CMM') ~= 'full' then
tup.append_table(img_files, {

View File

@ -1,3 +1,5 @@
if tup.getconfig('NO_JWASM') ~= 'full' then return end
if tup.getconfig("LANG") == "it" then
tup.definerule{command = "echo LANG_IT = 1 > lang.inc", outputs = {"lang.inc"}}
elseif tup.getconfig("LANG") == "sp" then