kolibrios/programs/cmm/notes/Tupfile.lua
Kirill Lipatov (Leency) 29e0e255d4 Notes 0.7 ALPHA
git-svn-id: svn://kolibrios.org@7331 a494cfbc-eb01-0410-851d-a64ba20cac60
2018-09-09 17:02:05 +00:00

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