kolibrios-fun/programs/cmm/Calypte/Tupfile.lua
Serhii Sakhno eccb25706d fix for previous commit
git-svn-id: svn://kolibrios.org@5613 a494cfbc-eb01-0410-851d-a64ba20cac60
2015-07-24 18:36:33 +00:00

7 lines
290 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("Calypte.c", "c-- /D=AUTOBUILD /D=$(C_LANG) %f" .. tup.getconfig("KPACK_CMD"), "Calypte.com")