kolibrios-gitea/programs/cmm/downloader/Tupfile.lua
Kirill Lipatov (Leency) 53ddecef5a add forgotten files
git-svn-id: svn://kolibrios.org@8279 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-11-29 19:10:47 +00:00

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