2016-11-20 22:48:03 +01:00
|
|
|
if tup.getconfig("NO_CMM") ~= "" then return end
|
2024-06-02 04:56:38 +02:00
|
|
|
if tup.getconfig("LANG") == "ru_RU"
|
2016-11-20 22:48:03 +01:00
|
|
|
then C_LANG = "LANG_RUS"
|
|
|
|
else C_LANG = "LANG_ENG" -- this includes default case without config
|
|
|
|
end
|
2024-05-21 16:45:21 +02:00
|
|
|
tup.rule("diff.c", "c-- /D=$(C_LANG) /OPATH=%o %f" .. tup.getconfig("KPACK_CMD"), "diff.com")
|