kolibrios-gitea/programs/cmm/drvinst/Tupfile.lua
Kirill Lipatov (Leency) 0397079560 small fix for prior rev
git-svn-id: svn://kolibrios.org@6632 a494cfbc-eb01-0410-851d-a64ba20cac60
2016-10-28 16:07:43 +00:00

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