2015-12-20 22:56:53 +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
|
2015-12-20 23:04:39 +01:00
|
|
|
tup.rule("font_viewer.c", "c-- /D=AUTOBUILD /D=$(C_LANG) %f" .. tup.getconfig("KPACK_CMD"), "font_viewer.com")
|