kolibrios-fun/programs/cmm/menu/Tupfile.lua
Kirill Lipatov (Leency) 2289d86d71 optimize pipes.raw
menu: new menu component

git-svn-id: svn://kolibrios.org@7773 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-04-11 11:00:31 +00:00

7 lines
284 B
Lua

if tup.getconfig("NO_CMM") ~= "" then return end
if tup.getconfig("LANG") == "ru"
then C_LANG = "LANG_RUS"
else C_LANG = "LANG_ENG" -- this includes default case without config
end
tup.rule("menu.c", "c-- /D=AUTOBUILD /D=$(C_LANG) %f" .. tup.getconfig("KPACK_CMD"), "menu.com")