kolibrios-gitea/programs/cmm/textreader/Tupfile.lua
Kirill Lipatov (Leency) 2fee377575 TextReader v1.0: plaint text reader, supports different font size and different encodings, uses ini file to save settings
git-svn-id: svn://kolibrios.org@5819 a494cfbc-eb01-0410-851d-a64ba20cac60
2015-09-07 15:07:51 +00:00

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