2016-11-20 22:48:03 +01:00
|
|
|
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
|
2016-11-23 12:37:13 +01:00
|
|
|
tup.rule("diff.c", "c-- /D=AUTOBUILD /D=$(C_LANG) %f" .. tup.getconfig("KPACK_CMD"), "diff.com")
|