kolibrios/programs/cmm/iconedit/Tupfile.lua
Kirill Lipatov (Leency) ab25bf2d8d backgen become iconedit v0.01
git-svn-id: svn://kolibrios.org@7148 a494cfbc-eb01-0410-851d-a64ba20cac60
2018-02-05 19:13:37 +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("iconedit.c", "c-- /D=AUTOBUILD /D=$(C_LANG) %f" .. tup.getconfig("KPACK_CMD"), "iconedit.com")