kolibrios-gitea/programs/system/taskbar/trunk/Tupfile.lua
Ivan Baravy c0607ba4f5 [taskbar] Fix language codes e.g. "et_EE"
git-svn-id: svn://kolibrios.org@10071 a494cfbc-eb01-0410-851d-a64ba20cac60
2024-05-31 23:21:26 +00:00

8 lines
457 B
Lua

if tup.getconfig("NO_FASM") ~= "" then return end
HELPERDIR = (tup.getconfig("HELPERDIR") == "") and "../../.." or tup.getconfig("HELPERDIR")
tup.include(HELPERDIR .. "/use_fasm.lua")
add_include(tup.getvariantdir())
tup.rule("echo lang fix " .. ((tup.getconfig("LANG") == "") and "en_US" or tup.getconfig("LANG")) .. " > %o", {"lang.inc"})
tup.rule({"TASKBAR.ASM", extra_inputs = {"lang.inc"}}, FASM .. " %f %o " .. tup.getconfig("KPACK_CMD"), "TASKBAR")