kolibrios-gitea/programs/cmm/mousecfg/Tupfile.lua
Kirill Lipatov (Leency) ab4eef43af rename mouse_cfg to mousecfg to fit into 8.3, better compress mouse_image
git-svn-id: svn://kolibrios.org@6754 a494cfbc-eb01-0410-851d-a64ba20cac60
2016-11-24 10:27:53 +00:00

7 lines
292 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("mousecfg.c", "c-- /D=AUTOBUILD /D=$(C_LANG) %f" .. tup.getconfig("KPACK_CMD"), "mousecfg.com")