2014-09-12 17:15:23 +02: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-02-14 13:47:18 +01:00
|
|
|
tup.rule("software_widget.c", "c-- /D=AUTOBUILD /D=$(C_LANG) %f" .. tup.getconfig("KPACK_CMD"), "software_widget.com")
|