kolibrios-fun/programs/cmm/clipview/Tupfile.lua
Kirill Lipatov (Leency) edc6f75e77 CLIPVIEW v1.0: upload a new app Clipboard Viewer
git-svn-id: svn://kolibrios.org@6567 a494cfbc-eb01-0410-851d-a64ba20cac60
2016-10-05 13:12:39 +00:00

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