kolibrios/programs/cmm/backgen/Tupfile.lua
Kirill Lipatov (Leency) 1f732787b5 upload backgen v0.5
git-svn-id: svn://kolibrios.org@7089 a494cfbc-eb01-0410-851d-a64ba20cac60
2017-10-11 23:19:28 +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("backgen.c", "c-- /D=AUTOBUILD /D=$(C_LANG) %f" .. tup.getconfig("KPACK_CMD"), "backgen.com")