Co-authored-by: Taldariner <71024372+Taldariner@users.noreply.github.com> Reviewed-on: #10
9 lines
358 B
Lua
9 lines
358 B
Lua
if tup.getconfig("NO_CMM") ~= "" then return end
|
|
if tup.getconfig("LANG") == "ru_RU"
|
|
then C_LANG = "LANG_RUS"
|
|
elseif tup.getconfig("LANG") == "es_ES"
|
|
then C_LANG = "LANG_SPA"
|
|
else C_LANG = "LANG_ENG" -- this includes default case without config
|
|
end
|
|
tup.rule("t.c", "c-- /D=AUTOBUILD /D=$(C_LANG) /OPATH=%o %f" .. tup.getconfig("KPACK_CMD"), "t.com")
|