kolibrios/programs/cmm/kf_font_viewer/Tupfile.lua
Kirill Lipatov (Leency) 58fe9b2a17 rename 'kolibri font viewer' to font_viewer
git-svn-id: svn://kolibrios.org@5992 a494cfbc-eb01-0410-851d-a64ba20cac60
2015-12-20 22:04:39 +00:00

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